Question: Option 3 : Write a program that will read in grades, the number of which is also input by the user. The program will find

Option 3: Write a program that will read in grades, the number of which is also input by the user. The program will find the sum of those grades and pass it, along with the number of grades, to a function which has a pass by reference parameter that will contain the numeric average of those grades as processed by the function. The main function will then deter- mine the letter grade of that average based on a 10-point scale.
90100 A
8089 B
7079 C
6069 D
059 F
Sample Run:
Enter the number of grades
3
Enter a numeric grade between 0-100
90
Enter a numeric grade between 0-100
80
Enter a numeric grade between 0-100
50
The grade is C
in C++

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 Programming Questions!