Question: Complete the Course class by implementing the FindStudentHighestGpa ( ) member function, which returns the Student object with the highest GPA in the course. Assume
Complete the Course class by implementing the FindStudentHighestGpa member function, which returns the Student object with the highest GPA in the course. Assume that no two students have the same highest GPA.
Given classes:
Class Course represents a course, which contains a vector of Student objects as a course roster. Type your code in here.
Class Student represents a classroom student, which has three private data members: first name, last name, and GPA. Hint: GetGPA returns a student's GPA.
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
