Question: Programming Language: C++ Add the following function to the class Student and use it inside main(): char letterGrade() const: returns the average of the grades

Programming Language: C++

Add the following function to the class Student and use it inside main():

char letterGrade() const: returns the average of the grades saved in an array of grades like letters A,B,C,D, or F using the usual ranges (88.5 to 100 for A, 79.5 to 89.5 for B), etc.

For example, if grades have (0,0,0,100,100) returns F as a average of 40.

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!