Problem

The Carlington Hotel wants a program in which the user enters the type of room that a gues...

The Carlington Hotel wants a program in which the user enters the type of room that a guest wants (1 for single, 2 for double, 3 for suite), the floor desired (1 through 12), and the number of nights the guest will stay (any number is valid). Compute the nightly rate from the following table, multiply by the number of nights, and then provide a 10% discount on the total if the guest stays 4 or more nights.

 

Single

Double

Suite

Floor 1 – 5

45.00

60.00

130.00

Floor 6 – 11

55.00

72.00

215.00

Floor 12

Not available

120.00

350.00

Display all the input data, the nightly price, and the total price for the guest’s stay, or display an error message if a combination is not available, or if an invalid room type code or floor is entered. Save the file as Hotel.cpp.

Step-by-Step Solution

Request Professional Solution

Request Solution!

We need at least 10 more requests to produce the solution.

0 / 10 have requested this problem solution

The more requests, the faster the answer.

Request! (Login Required)


All students who have requested the solution will be notified once they are available.
Add your Solution
Textbook Solutions and Answers Search
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT