Question: QUESTION 2: In this question, we describe the problem and then you have to decide yourself how you are going to tackle it. Question 2a

 QUESTION 2: In this question, we describe the problem and then

QUESTION 2: In this question, we describe the problem and then you have to decide yourself how you are going to tackle it. Question 2a The cost of renting a romm 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 30, the discount is 30%; * In addition, if rooms are booked for at leas three days, there is an additional 5% discount. Write a program that promps the user ro enter the cost of renting one room, the number of rooms booked, the number of days the rooms are booked and theslaws tax (as a percent). 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 R1000 The discount per room is 30% The number of rooms booked: 35 The total cost of the rooms are R: 70000 COS1511/102/1/2018 The sales tax paid is :10% The total cost per booking is R77000 submit Submit a printout of the program and output

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!