Question: Write a Java program that will prompt the user for two integer values and then prints the results of the four simple arithmetic operations.
Write a Java program that will prompt the user for two integer values and then prints the results of the four simple arithmetic operations. Example Run Simple arithmetic Enter a number for the variable x : 12 Enter a number for the variable y : 8 x + y = 20 x - y = 4 X * 96 = Y x / y = 1 ico ctivate
Step by Step Solution
3.46 Rating (149 Votes )
There are 3 Steps involved in it
import javautilScanner public class SimpleArithmetic public ... View full answer
Get step-by-step solutions from verified subject matter experts
