Question: 2 18. Write a C++ program that requests five integer values from the user. 3 It then prints the maximum and minimum values entered. 4
2 18. Write a C++ program that requests five integer values from the user. 3 It then prints the maximum and minimum values entered. 4 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. i) 11 II Your code goes here .... 11
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
