Question: Write a C++ program that asks the user to enter a set of integer numbers between 0 and 100 and stores it into an array

Write a C++ program that asks the user to enter a set of integer numbers between 0 and 100 and stores it into an array of max size 10 with all the values initialized to -1 so you know when to stop going through the array. When storing the numbers do so in a loop. The program should keep asking the user to enter a number until -1 is entered or until 10 numbers have been inputted. When the break condition happens, Display the Mean, Median, and Mode. If the user enters a number that is > 100 or header file to format the output. Mean(r) Median 43 34 Mode 11 For the Mean you can floor it (43.2 = 43, 43.9 = 43), ceiling it (43.2 = 44, 43.9 = 44) or round it (43.2 = 43, 43.9 = 44). Just leave a comment so I know which one you are doing. You can also have the program output next to the mea n one which option it is. In the example right about the (r) is to indicate it's rounded
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
