Question: Below are two classes: one named Course and one named Faculty. Write an implementation of a constructor for class Course that accepts two arguments (as

 Below are two classes: one named Course and one named Faculty.

Below are two classes: one named Course and one named Faculty. Write an implementation of a constructor for class Course that accepts two arguments (as shown in the prototype) and copies them to the two data members of Course. You must use member initializer syntax. #include using namespace std; class Faculty private: string name: public: Faculty (string n) { name=n; } )i class Course private: Faculty instructor; int num students public: Course (Faculty instr, int num) // Insert Course constructor implementation here. // Use member initializer syntax

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!