Create a program that asks the user to supply one integer


Problem

Create a program that asks the user to supply one integer (in the range of 0-10 inclusive).

i. The program should generate a random number within the same range.
ii. It should then present a menu to the user and query whether they would like to add, subtract, or multiply the two numbers.
iii. Subtraction should subtract the second integer (random generated one) from the first (user supplied).
iv. Display an error message if the user supplies an invalid response to the menu prompt.
v. Otherwise, display the results of the arithmetic operation.

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Create a program that asks the user to supply one integer
Reference No:- TGS03216035

Expected delivery within 24 Hours