Question: write as c++ code You are given an Instructor class whose data members are fullName and office . You are also given a TextBook class
write as c++ code
You are given an Instructor class whose data members are fullName and office. You are also given a TextBook class whose data members are title, author, and publisher. These classes have set and get member functions for each data member. Write a Course class declaration whose data members are name of type string, instructor of type Instructor and book of type TextBook. Provide code in set and get member functions of Course that pass data to and retrieve data from the Instructor and TextBook mutators and accessors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
