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

Another question on Business

question
Business, 22.06.2019 02:20
Neon light company of kansas city ships lamps and lighting appliances throughout the country. ms. neon has determined that through the establishment of local collection centers around the country, she can speed up the collection of payments by one and one-half days. furthermore, the cash management department of her bank has indicated to her that she can defer her payments on her accounts by one-half day without affecting suppliers. the bank has a remote disbursement center in florida. a. if neon light company has $2.90 million per day in collections and $1.18 million per day in disbursements, how many dollars will the cash management system free up?
Answers: 2
question
Business, 22.06.2019 09:20
Which statement best explains the relationship between points a and b? a. consumption reaches its highest point, and then supply begins to fall. b. inflation reaches its highest point, and then the economy begins to expand. c. production reaches its highest point, and then the economy begins to contract. d. unemployment reaches its highest point, and then inflation begins to decrease.
Answers: 2
question
Business, 22.06.2019 13:00
The green revolution is a scientific breakthrough that improved seeds for basic crops. how did the green revolution impact the supply of basic crops such as wheat and corn? the supply of wheat and corn increased. there was no impact on the supply of basic crops. the supply of basic crops did not change, but the quantity supplied of basic crops increased. the supply of wheat and corn decreased.
Answers: 3
question
Business, 22.06.2019 20:00
Experienced problem solvers always consider both the value and units of their answer to a problem. why?
Answers: 3
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
Mathematics, 02.06.2021 21:40
question
Mathematics, 02.06.2021 21:40
question
History, 02.06.2021 21:40
question
Mathematics, 02.06.2021 21:40