Question: Write a program in c++ that reads a list of double-precision grades from the keyboard into an array named grade. The grades are to be

Write a program in c++ that reads a list of double-precision grades from the keyboard into an array named grade. The grades are to be counted as they're entered and entry should be terminated when a negative value has been entered. After all grades have been input, the program should display the sum and average of the grades. (The grades should be listed with an asterisk (*) placed in front of each grade that is below the average.)

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!