Question: Write a program to implement the comparisons of three integer numbers by conditional operator. Please ask the user to input random three integers. Then display

Write a program to implement the comparisons of three integer numbers by conditional operator. Please ask the user to input random three integers. Then display the minimum, middle, and maximum number in one line. Also, please calculate and display the sum and the average value (save 2 digits after decimal point) of these three integers. Please write the comments line by line. Otherwise, you will not have any point without comments. Do not forget save the screen snap of the results after running the code.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!