Question: C++ Programming: Create a class called Room to represent a hotel room. The class has the following data members: - Room number ( of type
C++ Programming:
Create a class called Room to represent a hotel room. The class has the following data members:
- Room number ( of type integer) (250 rooms in this hotel) - Room type that can be one of the following two values: Regular or Suite - Room availability (Boolean). This attribute is true if the room is available; false otherwise
The class should have at least the following member functions:
- One or more constructors - Checking if a room is available - Returning the room type - A function that prints information about a customer - A destructor
Create a driver to test the class Room.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
