Question: C++ Program: Create a class called Hotel to represent the hotel for which the system is created. The class has the following data members: -

C++ Program:

Create a class called Hotel to represent the hotel for which the system is created. The class has the following data members:

- Name (string) - Address (string) - Tel (string) - Number of rooms (integer) (250 room hotel) - Rooms (a collection of rooms)

The class should have at least the following member functions: - One or more constructors - Typical getters and setters - Outputting the rooms with their occupation status on a given date - Outputting the list of customers who reserved rooms in a given date interval - Outputting the list of customers who reserved rooms of type Suite in a given date interval - Outputting the list of customers who reserved rooms of type Regular in a given date interval - Outputting the list of customers whose stay duration is more than or equal to an input number x - Returning true if there are no more rooms to book (i.e., the hotel is booked up). - A function that prints information about a hotel - A destructor

Create a driver to test the class Hotel

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!