Write a Java program that will prompt the user for two integer values and then prints the results of…

Write a Java program that will prompt the user for two integer values and then prints the results of…

Question:

 

Transcribed Image Text:

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

Expert Answer:

Answer rating: 100% (QA)

import java util Scanner public class SimpleArithmetic publi
View the full answer