Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 3 aThe cost of rentirconference, theag a room at a hoteel is R 9 0 0 offers a special diseount speclal oCcasions, such as

Question 3aThe cost of rentirconference, theag a room at a hoteel is R900offers a special diseount speclal oCcasions, such as a wedding or 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.Display the output as follows:Please enter the following:Cost per room: 1000sales tax per room:the number of rooms: 35number of days: 2Write 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 the sales tax (as a percent).The total cost for one room is R1000(11)7The total cost of the rooms is R: 70000The sales tax paid is : 10%The total cost per booking is R77000TURN OVER]INP1501MAYIJUNE 2022
image text in transcribed

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_2

Step: 3

blur-text-image_3

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

Databases Illuminated

Authors: Catherine M Ricardo, Susan D Urban

3rd Edition

1284056945, 9781284056945

More Books

Students also viewed these Databases questions

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago