subject

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 rice/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: 1

Another question on Computers and Technology

question
Computers and Technology, 24.06.2019 03:00
What is one potential problem associated with an organization purchasing new technology early in its lifecycle
Answers: 1
question
Computers and Technology, 24.06.2019 05:30
Hey i really need some solving this problem: 1. encrypt this binary string into cipher text: 110000. include in your answer the formula the decoder would use to decrypt your cipher text in the format (coded answer) x n mod (m) = y & 2. decrypt this cipher text into a binary string: 106 you.
Answers: 2
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
question
Computers and Technology, 24.06.2019 10:50
In 2009 to 2010, how many social network users were reported as being victims of online abuse? a. 1 in 10 b. 100% c.1 in 100 d. 50%
Answers: 2
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
question
Chemistry, 13.03.2021 03:20
question
Mathematics, 13.03.2021 03:30
question
Mathematics, 13.03.2021 03:30
question
Arts, 13.03.2021 03:30
question
Mathematics, 13.03.2021 03:30
question
Health, 13.03.2021 03:30