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, 21.06.2019 21:30
Felicia wants to become a head surgeon by december 2013. she designs the career milestones that she would need to complete her goal. by june 2013, she was not licensed. which best describes what she should do?
Answers: 2
question
Computers and Technology, 23.06.2019 04:20
4. a1. vince owns a television repair shop that is insured undera commercial package policy. the policy includes thebuilding and personal property coverage form and thecauses-of-loss broad form. the declarations page indicatesthat coverage applies to both the building and the namedinsured's business property. explain whether or not thefollowing losses would be covered under his policy.a. a fire occurs on the premises, and the building isbadly damaged.b. a burglar steals some money and securities from anunlocked safe.c. a business computer is damaged by vandals whobreak into the shop after business hours.d. a tornado touches down near the store. several tel-evision sets of customers in the shop for repair aredamaged in the storm.til
Answers: 2
question
Computers and Technology, 23.06.2019 11:20
Http is the protocol that governs communications between web servers and web clients (i.e. browsers). part of the protocol includes a status code returned by the server to tell the browser the status of its most recent page request. some of the codes and their meanings are listed below: 200, ok (fulfilled)403, forbidden404, not found500, server errorgiven an int variable status, write a switch statement that prints out the appropriate label from the above list based on status.
Answers: 2
question
Computers and Technology, 23.06.2019 22:20
Learning sign language is an example of a(n) learning sign language is an example of a(n)
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
Questions on the website: 13722363