create the class appt with private members size int year int kitchen room bedroom room livingroom room room is the class previously created and aggregated in appt

  • Create the class Appt with private members (size int), (year int), (kitchen Room), (bedroom Room), (livingroom Room). Room is the class previously created and aggregated in Appt.
  • depict the 2 classes “Appt” and “Room” in a UML Diagram)
  • Create a class “Diningroom” that inherits from the class Room. Also, the “Diningroom” class has a private member called “layout” which is a string. Define the inheritance by setting the class access specifier “public” and explain how the members are inherited by the child class “Diningroom”. (see slide number 16, chapter 15)
  • Create a Dining room object by combining the constructor of the Base class and the constructor of the derived class (slide 21, chapter 15) .
  • submit all the code in a file