Question: Write a C++ program. (10 points) Write a program that can be used to assign seats for a hotel The hotel has 4 floors with

 Write a C++ program. (10 points) Write a program that can

Write a C++ program.

(10 points) Write a program that can be used to assign seats for a hotel The hotel has 4 floors with 6 rooms on each floor. Floor 1 is first class, the remaining floors are economy class. Also, floor 1 to be non-smoking. Ask the user to enter the following information Type (First class or Economy) For Economy class, Smoking zone or non- smoking zone. Keep taking the new information from customers and display the table (below) and to exit the program press -1. Allocate the room according to the desired choice. And if no space is available then prompt an message Display the following reservation plan on the screen. error Floor1 X HE Floor2 * * X 4 Floor X Floor 4 x X x Where X indicates it is occupied and * represents it is available

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!