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

Programming Language: C++

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

char letterGrade() const: returns the mean 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 mean of 40.

2 - Add the following external function and use it inside main:

double getMaxOverallGrade(StudentA[], int size): given an array of objets Student of size (size) returns the max grade between all students. For example, if the array consists of two students and the first has the grades (10, 20, 3, 4, 5,) and the second (10, 30, 40, 95, 90), the function will return 95.

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!