subject
Business, 20.04.2020 20:35 xxaurorabluexx

ABC Resort and Hotel has approached you to write a program to keep track of the number of rooms needed for an event. Customers can request any one of the following types of rooms to be reserved. Because the hotel has limited rooms available for a given event, it can only reserve up to 39 rooms. However, the hotel does not know how many rooms, in total, will be reserved because the rooms are reserved on demand.

Room Type Price/per night
Single $79.95
Single Deluxe $99.95
Double $149.95
Double Deluxe $179.95

Create a program for use by the hotel staff to take reservation orders for rooms for an event. All events are single night stay events. So you do not need to worry about the number of nights they are staying. An order occurs when the user enters a room type by name (e. g. Single). Until the user has indicated they are finished entering room types, continue to prompt the user to enter a room type. You must validate the room type, providing an error message and re-prompting the user if an invalid room type is entered. Keep track of the number of rooms that will be reserved for each room type.

Once the user has indicated they are finished entering room types, display a well-formatted report containing a list of each room type with its associated price, the number of rooms needed for that room type, the total revenue from all rooms for the event, and the average revenue from a room for the event.

ansver
Answers: 2

Other questions on the subject: Business

image
Business, 21.06.2019 12:50, Kiki18love
Suzanna decided not to pay federal income tax, saying that paying federal income tax is optional. describe two possible consequences of suzanna’s decision
Answers: 2
image
Business, 22.06.2019 06:20, kingyogii
At a small store, a customer enters the front door on average every 8 minutes. a prior study indicated that the time between customers entering the front door during weekdays follows an exponential distribution. what is the probability that the time between customers entering the store on a weekday will be less than or equal to 7? select one: a. 62 b. 43 c. 1/8 d. 7/8 e. 58
Answers: 1
image
Business, 23.06.2019 15:00, birdman6360
Baskin promotions, inc. sells t-shirts decorated for a variety of concert performers. the company has developed the following budget for the coming year based on a sales forecast of 80,000 t-shirts: sales $ 1,400,000 cost of goods sold 820,000 gross profit 580,000 operating expenses ($100,000 is fixed) 418,400 operating income 161,600 income taxes (30% of operating income) 48,480 net income $ 113,120 cost of goods sold and variable operating expenses vary directly with sales, and the income tax rate is 30% at all levels of operating income. if the concert season is slow due to poor weather, baskin estimates that sales could fall to as low as 60,000 t-shirts. assume baskin actually achieves the 60,000 unit sales level, and that net income actually earned at this level was $70,000. a performance report would indicate that net income was:
Answers: 2
image
Business, 23.06.2019 17:30, jeanniebyrd54
Amy is buying a new blouse for a party. what kind of good is the blouse?
Answers: 1
You know the right answer?
ABC Resort and Hotel has approached you to write a program to keep track of the number of rooms need...

Questions in other subjects: