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
Get step-by-step solutions from verified subject matter experts
