Question: : Design and implement a class hierarchy for students at a university. There are two categories of students: BS students and MS students. MS students
: Design and implement a class hierarchy for students at a university. There are two categories of students: BS students and MS students. MS students can be further categorized in MS-by-research and MS-by-coursework students. All the students have their names, addresses and roll-numbers stored. Each MS student has an advisor. Each MS-by-research student has a thesis status (whether he has started the thesis or not). BS student can be of first year, second year, third year or fourth year. Implement this hierarchy so that we can declare a list of students belonging to different categories. Also implement a PrintInfo function that displays all the information for the student of a particular category. In addition, the type of student is also displayed i.e. BS, MS-by-coursework or MS-by-research. in c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
