Question: Create a Major class and Student class with two different private attributes for both major and student class respectively; major name, and number of credits
Create a Major class and Student class with two different private attributes for both major and student class respectively; major name, and number of credits and a public member function displayMajorInfo() and student name, age, major and a public member function displayStudentInfo().
c++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
