Apply the programming logic constructs and write the C++ programs for given problems. The hotel wants a program to automate their manual process. The program will ask user to enter the type of room...


Apply the programming logic constructs and write the C++ programs for given problems.

The hotel wants a program to automate their manual process. The program will ask user to enter the type of room that a guest wants (as given in Table), the desired floor and the number of days the guest will stay. Compute the daily rate and multiply by the number of days the guest will stay, and then provide a 5% discount on the total amount if the guest stays 7 or more days.





























FloorsSingleDoubleSuite
1-450$70$100$
5-960$80$150$
10Not Available100$200$

Your program will display:
• Daily rate
• Total amount
• Discount (if applicable)
• Display error message incase an invalid room type and floor is entered.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here