Question: 1. Create a problem analysis (including blackbox, inputs, outputs) using the question. 2. Write the question in psudeo code (including begin and end) 3. Visual

1. Create a problem analysis (including blackbox, inputs, outputs) using the question.

2. Write the question in psudeo code (including "begin" and "end")

3. Visual Studio C++ Source code to the question.

A hotel charges their customer's room rate per stay night and for the use of services such as breakfast and laundry. Valued Added Tax (VAT) of 20% is added to the total room cost and the services used. Write a program that reads the room rate, the number of nights of stay, and the total amount of services used and displays the total bill amount that a customer should pay. A sample run of the program should produce the following dialogue with the end user:

Enter the room rate: 75.5

Enter the number of nights of stay: 4

Enter the number of services used: 135

The total amount for room and services: 437

VAT charged at 20%: 87.4

Total amount to pay: 524.4

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!