Question: c++ class Student protected: int courses; string courseGrades: public: Studentint c) courses = c; courseGrades = new string[courses); } Student delete / courseGrades; 1 virtual

c++
 c++ class Student protected: int courses; string courseGrades: public: Studentint c)
courses = c; courseGrades = new string[courses); } Student delete / courseGrades;

class Student protected: int courses; string courseGrades: public: Studentint c) courses = c; courseGrades = new string[courses); } Student delete / courseGrades; 1 virtual bool award Degree() = 0; 1 class Undergraduate : public Student public: Undergraduate(int c) Student (c) } virtual bool award Degree() // if no course grade is Freturn true return false; 1 class Graduate : public Student protected: int advisors: string thesis Remarks; public: Graduatefint cinta) : Studentic advisors = a; thesis Remarks = new stringadvisors); } virtual bool awardDegree(X // if no course grade is Fand all advisors are satisfied with thesis, return true return false; } "Graduate() delete ll thesisRemarks: What can be wrong with the following implementation (code below), if the relationship among the classes is correct? Simply explain in words. *

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!