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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:00, fluffy374747
The animal classthis class represents a an animal residing at a zoo. it has a weight (in pounds),height (in inches), a name, and a color. the methods in the class include constructors, getters, and a tostring. you will finish the implementation of these methods. referto the code documentation.1.getters: you will need to implement getter methods. these get a value (froma member variable) in the animal class. you will make a getter method toreturn each variable (weight, height, name, color). reference getname if youare having issues.2.tostring: you will need to finish the tostring method. this returns a stringcontaining information about an animal. the output string should be of theformat: ” (name) , a ( color )â’colored animal . ( weight ) pounds , ( height ) inches .\n”the height and weight are formatted to 1 decimal place. recall from lab 1how to format strings neatly using string. see the reference sectionfor more about string. format.
Answers: 2
image
Computers and Technology, 23.06.2019 02:00, deeknuk
What is the main benefit of minimizing the ribbon in word? more options will be accessible through customized keystrokes. more of the document will be viewable without needing to scroll. fewer controls will be accessible to the user by using the mouse. fewer editing options will be available without entering a password.
Answers: 1
image
Computers and Technology, 23.06.2019 12:00, kp2078
What type of slide show is a dynamic and eye-catching way to familiarize potential customers with what your company has to offer? a. ole b. photo album c. brochure d. office clipboard
Answers: 2
image
Computers and Technology, 23.06.2019 19:30, Felixthecat7186
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a, b] se pot scrie ca produs de două numere prime? “.
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 in other subjects:

Konu
Mathematics, 21.12.2021 04:30
Konu
Mathematics, 21.12.2021 04:30
Konu
Mathematics, 21.12.2021 04:40