Question: [40 marks] (The Course class) Implement the classes Student and Course which are defined as follows, Course.h #ifndef COURSE H #de fine COURSE H #include

 [40 marks] (The Course class) Implement the classes Student and Course

which are defined as follows, Course.h #ifndef COURSE H #de fine COURSE

H #include #include using namespace std; class Student public: Default constructor Student

[40 marks] (The Course class) Implement the classes Student and Course which are defined as follows, Course.h #ifndef COURSE H #de fine COURSE H #include #include using namespace std; class Student public: Default constructor Student ) // Creates a student with the specified name and id. Student (const string& name, int student_id); // Returns the student name. string get_name ) const; /Returns the student id int get_student_id ) consti // Sets the student name. void set_name (const string& name); /Sets the student id void set student id(int student id); Prints the student name and id

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!