Question: C++ PROGRAMMING In this question, we describe the problem and then you have to decide yourself how you are going to tackle it. Question 3a
C++ PROGRAMMING
In this question, we describe the problem and then you have to decide yourself how you are going to tackle it. Question 3a The cost of renting a room at a hotel is R900 per night. For special occasions, such as a wedding or conference, the hotel offers a special discount as follows: - if the number of rooms booked is at least 10 , the discount is 10%; - if the number of rooms booked is at least 20 , the discount is 20%; - if the number of rooms booked is greater or equal to 30 , the discount is 30%; - In addition, if rooms are booked for at least three days, there is an additional 5% discount. [TURN OVER] Write a program that prompts the user to enter the cost of renting one room, the number of rooms booked, the number of days the rooms are booked and these laws tax (as a percent). 7 Display the output as follows: Please enter the following: cost per room: 1000 sales tax per room: 10 the number of rooms: 35 number of days: 2 The total cost for one room is 1000 The discount per room is 30% The number of rooms booked: 35 The total cost of the rooms are R:70000 The sales tax paid is : 10% The total cost per booking is 777000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
