There are several types of room in a hotel. . Assume that a hotel has guest rooms and meeting rooms. Modify the HotelRoom class as follows: class constructor, copy constructor, and destructor accordingly. Derive from Hotel Room the classes Guestroom and Meeting Room. Guestroom contains the following data members: the integer instance variable capacity, which represents the maximum number of guests that can occupy the room; the integer instance variable status, which represents the number of guests in the room (0 if unoccupied); and the integer instance variable days, which represents the number of days the guest occupies the room. Meeting Room has the integer instance variable seats, which represents the number of seats in the room.
1
Expert's answer
2012-11-30T04:41:36-0500
Unfortunately, your question requires a lot of work and cannot be done for free. Submit it with all requirements as an assignment to our control panel and we'll assist you.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment