Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing Fundamentals, Design, and Implementation

Authors: David M. Kroenke, David J. Auer

14th edition

133876705, 9781292107639, 1292107634, 978-0133876703

More Books

Students also viewed these Databases questions

Question

=+b. Would you need to edit down the copy for a smaller-space ad?

Answered: 1 week ago