long id, string c[] = NULL, char cG[] = NULL, int noOfC = 0);
private:
long studentId;
string courses[6];
char coursesGrade[6]
int noOfCourses;
)
Rewrite the definition of the class studentType so that the functions print and calculateGPA are pure virtual functions.
+5
Answers (1)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “In c++ Consider the following definition of the class studentType: public studentType: public personType { public: void print (); void ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Home » Computers & Technology » In c++ Consider the following definition of the class studentType: public studentType: public personType { public: void print (); void calculateGPA (); void setID (long id); void setCourses (const string c[], int noOfC);