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 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
Get step-by-step solutions from verified subject matter experts
