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, 22.06.2019 18:00
Which of the following physical laws can make the flow of water seem more realistic? a. motion b. gravity c. fluid dynamics d. thermodynamics
Answers: 2
question
Computers and Technology, 23.06.2019 04:00
In a word processing program, such as microsoft word, which feature to you choose the desired picture enhancement?
Answers: 2
question
Computers and Technology, 23.06.2019 07:50
Most shops require the technician to enter a starting and ending time on the repair order to track the actual time the vehicle was in the shop and closed out by the office. this time is referred to as _ time ? a. comeback b. ro c. cycle d. lead
Answers: 1
question
Computers and Technology, 23.06.2019 09:50
Allison and her group have completed the data entry for their spreadsheet project. they are in the process of formatting the data to make it easier to read and understand. the title is located in cell a5. the group has decided to merge cells a3: a7 to attempt to center the title over the data. after the merge, allison points out that it is not centered and looks bad. where would the title appear if allison unmerged the cells in an attempt to fix the title problem?
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
Mathematics, 01.12.2020 19:00
question
Chemistry, 01.12.2020 19:00
question
Mathematics, 01.12.2020 19:00
Questions on the website: 13722359