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 10:00
Jackson is teaching the decimal number system. he wants his students to know how to expand numbers by powers of 10. which is the correct order in which digits are assigned values in the decimal number system?
Answers: 1
question
Computers and Technology, 22.06.2019 14:40
For this assignment you have to write a c program that will take an infix expression as input and display the postfix expression of the input. after converting to the postfix expression, the program should evaluate the expression from the postfix and display the result. what should you submit? write all the code in a single file and upload the .c file. compliance with rules: ucf golden rules apply towards this assignment and submission. assignment rules mentioned in syllabus, are also applied in this submission. the ta and instructor can call any students for explaining any part of the code in order to better assess your authorship and for further clarification if needed. problem: we as humans write math expression in infix notation, e.g. 5 + 2 (the operators are written in-between the operands). in computer's language, however, it is preferred to have the operators on the right side of the operands, ie. 5 2 +. for more complex expressions that include parenthesis and multiple operators, a compiler has to convert the expression into postfix first and then evaluate the resulting postfix write a program that takes an "infix" expression as input, uses stacks to convert it into postfix expression, and finally evaluates it. it must support the following operations: + - / * ^ % ( example infix expression: (7-3)/(2+2) postfix expression: 7 3 2 2 result: rubric: 1) if code does not compile in eustis server: 0. 2) checking the balance of the parenthesis: 2 points 3) incorrect postfix expression per test case: -2 points 4) correct postfix but incorrect evaluation per test case: -i points 5) handling single digit inputs: maximum 11 points 6) handling two-digit inputs: 100 percent (if pass all test cases)
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
Acompany is inviting design for its new corporate logo from its users. this is an example of ? a. crowdfunding b. crowdvoting c. crowdsourced design d. crowdtracking
Answers: 3
question
Computers and Technology, 24.06.2019 05:30
If you combine two cells into one, what action are you performing? a.  adding a new row or column      b.  splitting the cells      c.  removing a new row or column      d.  merging the cells
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, 03.02.2021 07:10
question
Chemistry, 03.02.2021 07:10
question
Mathematics, 03.02.2021 07:10
question
Mathematics, 03.02.2021 07:10
question
English, 03.02.2021 07:10
Questions on the website: 13722361