Question: C++ AHOW STEPS WITH //COMMENTS 2. Consider the class definitions given below. Using inheritance techniques design and fully describe Building, House, and School classes. Class

C++
AHOW STEPS WITH //COMMENTS
2. Consider the class definitions given below. Using inheritance techniques design and fully describe Building, House, and School classes. Class Building House School Data members Numberof rooms Numberof rooms Numberof rooms Area Area Area NoOfBuildings(static) Numberofbedrooms Numberofclassrooms Numberofbaths Numberofoffices Methods Building) House) School) (functions) GetNoOf Rooms() GetNoOfRoomst) GetNoOfRoomst) SetNoOfRooms() SetNoOfRooms() SetNoOfRooms() GetArea) GetArea) GetAreal SetArea) SetAreal) SetArea) GetNoOfBuildings() GetNoOfBuildings() GetNoOfBuildings() GetNoOfBedrooms() GetNoOfClassrooms() SetNoOfBedrooms() SetNoOfClassrooms() GetNoOfBaths() GetNoOfOffices() SetNoOfBaths() SetNoOfOffices() NOTES: Constructors will be used to read data members from the keyboard Considering the data types of the corresponding data members you should determine and write the parameter list and returned data type for each function correctly
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
