Question: Please answer in C++ format: Write a program to read a series of int numbers from the keyboard. Use an end-of-input signal (sentinel) value of

Please answer in C++ format:

Write a program to read a series of int numbers from the keyboard. Use an end-of-input signal (sentinel) value of 99. Calculate and print the average of the numbers between 32 and 212. Any number below 32 or above 212 (extremes) should not be included in the average calculations, but you should keep a count of them and print that at the end of the program. A run of the program should resemble the following:

Enter a number (-99 to quit): 22

Enter a number (-99 to quit): 0

Enter a number (-99 to quit): 44

Enter a number (-99 to quit): 33

Enter a number (-99 to quit): -99

Average is: 38.5

There were 2 extreme values

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!