Question: Consider the following class called Section that stores the final grades of all the students enrolled in a specific section of a class. class Section{

Consider the following class called Section that stores the final grades of all the students enrolled in a specific section of a class. class Section{ public: Section() { // constructor nST = 0: } void addGrade (float grade) { ST [nST] = grade: nST++: } private: float ST [26] int nST: // number of final grades stored }: a) The ST member variable can store at most 26 students. Change the code so that ST can store as many final grades as needed when a Section object is created. Change/add constructor and destructors as needed. b) Add a copy constructor for the above case
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
