Question: Write a C + + program that reads a list of double - precision grades from the key - board into an array named grade.
Write a C program that reads a list of doubleprecision grades from the key board into an array named grade. The grades are to be counted as theyre read, and entry is to be terminated when a negative value has been entered. After all grades have been input, your program should find and display the sum and average of the grades. The grades should then be listed with an asterisk placed in front of each grade thats below the average.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
