Question: C++ Programming Question using Visual Studio. Complete implementations for the student member functions given the structure below in order to compute the GPAs for two
C++ Programming Question using Visual Studio.
Complete implementations for the student member functions given the structure below in order to compute the GPAs for two students. The credit and grade data member arrays hold the number of credits for each course taken and its corresponding letter grade, respectively. The data member numCourses indicates how many of the 100 array elements contain valid data, i.e. the number of courses the student has completed.

1. Complete implementations for the student member functions given the structure below in order to compute the GPAs for two students. The credit and grade data member arrays hold the number of credits for each course taken and its corresponding letter grade, respectively. The data member numCourses indicates how many of the 100 array elements contain valid data, i.e. the number of courses the student has completed. The member function setGrades is passed arrays of length numIn containing the number of credits and letter grades for each of the numIn courses. The function should store this information in the data members. The member function addGrade is passed a single course, with its corresponding number of credits and letter grade, to be appended to whatever information is already stored in the data members. The member function getGPA will loop through all the course information stored in the data members and return the student's current GPA #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
