Question: Create a class called ThreeIntegers that contains the main method. The class should ask the user for three integers as input, and displays the following:
Create a class called ThreeIntegers that contains the main method. The class should ask the user for three integers as input, and displays the following:
sum thesum
average theaverage
product theproduct
smallest thesmallest
largest thelargest
where the italic words are the actual calculations on the three integers. Because the application is only using the int data types, theaverage will be displayed as an integer value.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
