Question: Write a C++ program. Using the while loop or the do while loop write a program that does the following: Calculate the average of a
Write a C++ program. Using the while loop or the do while loop write a program that does the following:
Calculate the average of a series of homework grades (0 - 100) entered one at a time.
In this case the lowest score will be dropped and the average computed with the remaining grades. For example suppose you enter the following grades: 78, 85, 81, 90, 88, 93 and 97.The average will be computed from the 6 grades 85, 81, 90, 88, 93 and 97. The low score of 78 will be dropped.
Output each grade, the dropped grade and the final average.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
