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.
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.

Room Type Price/per night
Single $79.95
Single Deluxe $99.95
Double $149.95
Double Deluxe $179.95

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.
Your solution must demonstrate the concept of one-dimensional arrays.
Solution Design:
1) Create a defining diagram that shows the input, processing, and output.
2) Create a solution algorithm using pseudocode.
3) Show testing using the desk checking table method, to include test data, expected results, and a desk checking table. Make sure your desk checking considers multiple cases including both valid and invalid test data to prove your algorithm will work in all cases.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 20:20
Wireless communications is likely to be viewed as an essential part of an enterprise network infrastructure when: select one: a. mobile communication is needed b. communication facilities must be installed at low initial cost c. communication must take place in a hostile or difficult terrain that makes wired communication difficult or impossible d. the same information must be broadcast to many locations
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
In three to five sentences, describe how you can organize written information logically and sequentially
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
William travels a lot on business purpose. he needs to regularly communicate with his business partner. he also needs to send out weekly reports to his boss while he is traveling. which web-based application best suits william’s needs? (social media, webmail, wiki) is the best web-based application for william. he can access this application via the internet using a (digital cable, fax machine, web browser).
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
What is the most important for you to choose before you build a network?
Answers: 1
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