Question: In C++ Create a class Student that contains: student name and a list of courses. In the Student class you must have at least the

In C++ Create a class Student that contains: student name and a list of courses. In the Student class you must have at least the following methods to perform the following operations:

  1. Define a constructor initialize the student name.
  2. Add a course to a list of courses
  3. delete a course from a list.
  4. Update course grade for a given course id.
  5. Sort a list in ascending according to course Id.
  6. Display a list of courses taken by the student.
  7. Compute the accumulative GPA for all courses.
  8. Save Student name and all courses in an output file called grades.txt

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!