Question: Create a complete C++ program that prints a hotel bill. The program shall prompt the user for some numerical values, read in those values, include
Create a complete C++ program that prints a hotel bill. The program shall prompt the user for some numerical values, read in those values, include those values when calculating results, and then print the bill on the screen. To produce the example bill, the user would enter the check-in date (the numbers 3, 14 and 2012), the room number (118), and the cost of the room (72.10). The program would then calculate the state tax, room tax, and balance due, and finally print the bill.
Example of text file:
Comfort Hotel
Longview, TX 75605
Check-in Date : 3/14/2012
------------------------------------------------------------------
Post Date Description Comment Amount
---------- ----------- ------- ------
3/14/2011 Room Charge # 118 72.10
3/14/2011 State Tax (7.75%) 5.59
3/14/2011 Room Tax (4.00%) 2.88
----------
Balance Due: 80.57
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
