Question: Help with this C ++ program. The Holiday Out Motel wants you to write a program that will print a statement for each overnight customer.

Help with this C ++ program.
The Holiday Out Motel wants you to write a program that will print a statement for each overnight customer. The sales tax rate is 5.5%. Use main( ) as the driver function. Allow the user to process as many customer bills as desired.The specifications of the program are below.
a. Write one function to prompt the user for the following customer information:
Date of the bill.
Customers Name.
Room Number.
Room Rate.
Number of Nights.
Phone Charges.
b.
c. Write one function to calculate the all charges necessary for the customers bill as displayed below.
d. Write one function to display the customers bill using the following information: the date, the Customers Name, Room Number, Room Rate, Number of Nights, Room Cost, Taxes, Subtotal, Phone Charge, and Total Charges. (Perform appropriate data validation where needed.)

Sample Input:

Please enter the following Information.

Date: 3-5-17

Customer's Name: The John Smith Family

Room Number: 135

Room Rate: 39.95

Number of Nights: 3

Phone Charge: 3.75

Sample Output:

The Holiday Out Motel

Date: 3-5-17

Customer's Name: The John Smith Family

Room Number: 135

Room Rate $ 39.95

Number of Nights: 3

Room Cost: $ 119.85

Taxes $ 6.59

Subtotal: $ 126.44

Phone Charges: $ 3.75

TOTAL DUE: $ 130.19

Thank you for staying at the Holiday Out Motel.

Drive safely and please come again.

Would you like to process another customers bill (Y or N): n

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!