Question: Please answer in C++ not any other language! The problem asks you to implement a CourseGrades class that contains the five member functions given in
Please answer in C++ not any other language!

The problem asks you to implement a CourseGrades class that contains the five member functions given in the problem. The CourseGrades class should also contain an array of size 4 of GradedActivity pointers called grades (note that it does not say "an array of GradedActivitys", but rather it's an "array of pointers to GradedActivitys"). Each of those four pointers will be initialized with the four "set" member functions described in the problem. (For example, setLab will initialize grades [0]. setPassFailExam) will initialize grades [1].) Your program should
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
