Question: Sample Input Data 25 75 84 92 88 59 88 52 79 48 11 83 12 92 77 92 80 52 10 53 32 -999

 Sample Input Data 25 75 84 92 88 59 88 52

Sample Input Data

25 75 84 92 88 59 88 52 79 48 11 83 12 92 77 92 80 52 10 53 32 -999 

Sample Input Data

25 75 84 92 88 59 88 52 79 48 11 83 12 92 77 92 80 52 10 53 32 -999 Also report the range and midrange please use the loop to do it, thank you very much ! 

Min Max Sum Count Average Write a C++ program that will: 1. read an unknown number of non-negative integers from the user 1. stop reading when the user enters -999 2. report the Min, Max, Sum, Count, and Average of the data (round output to 3 decimal places) Sample Run Min = 10 Max = 92 Sum = 1284 Count = 21 Average = 61. 143 Sample Input Data

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!