Question: 8. Write a C++program that requests five integer values from the user. It then prints the maximum and minimum values entered. If the user enters

 8. Write a C++program that requests five integer values from the

8. Write a C++program that requests five integer values from the user. It then prints the maximum and minimum values entered. If the user enters the values 3,2,5,0, and 1 , the program would indicate that 5 is the maximum and 0 is the minimum. Your program should handle ties properly; for example, if the user enters 2,4,2,3, and 3 , the program should report 2 as the minimum and 4 as maximum

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!