Question: Write an application to perform simple arithmetic operations on integers. Specification Name the .java file SimpleMath The program should do the following: Prompt the user
Write an application to perform simple arithmetic operations on integers. Specification Name the .java file SimpleMath The program should do the following: Prompt the user to enter five integer numbers from the keyboard. Display the sum, average, product, smallest and largest of the numbers. Display the quotient of the first number divided by the second. Display the remainder of the fourth number divided by the fifth. The average calculation should result in the integer representation of the average, not the decimal value.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
