Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

help me with answers The cost of renting a room at a hotel is R900 per night. For special occasions, such as a wedding or

help me with answers

image text in transcribed

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 OVE 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 R1000 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 R77000

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

More Books

Students also viewed these Databases questions