Question: 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
| 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 4, 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. Also find average, mean value and It then prints one of two things: if any of the values entered are duplicates, it prints "DUPLICATES"; otherwise, it prints "ALL UNIQUE". |
Step by Step Solution
3.42 Rating (155 Votes )
There are 3 Steps involved in it
1 include include void main int abcde clrscr cout da cout db ... View full answer
Get step-by-step solutions from verified subject matter experts
