Question
using c++!!!!!!!!!! Create a class called Hotel to represent the hotel for which the system is created. The class has the following data members: -
using c++!!!!!!!!!! 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) - 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started