subject

Project description the bluemont chain hotels have 4 different types of room: single room: $60/night double room: $75/night king room: $100/night suite room: $150/night the size of the hotel chains in different locations may be different in terms of the number of floors and the type and the number of rooms on each floor. you are required to write a program that calculates the occupancy rate and the total hotel income for one night and displays this information as well as some other information described below. the program starts by asking the location where this hotel chain is located and the number of floors in the hotel. the number of floors may not exceed 5. the user then enters the total number of rooms for each floor. the program then asks specifically the number of occupied rooms for each room type on this floor. the total number of rooms on each floor may not exceed 30 and the program should check that the total number of occupied rooms on each floor does not exceed the total of rooms on that floor. after the information is entered for each floor, the program calculates the following: - hotel income (based on the room type and its rate), - the total number of occupied rooms, - total number of the uncopied rooms, - the rate of occupancy, - floor number with the minimum number of rooms. (assume no two floors have the same number of rooms). - a message to improve the occupancy rate for the occupancy rate of less than 60%. - programmer’s full name - project number - project due date project specifications -use constant variables to hold room rates, max and min # of floors and rooms. -the program should continuously ask for the correct floor number if it is not within the range of 1 and 5. -the program should continuously ask for the correct number of rooms for each floor if it is not within the range of 1 and 30. -the program should repeat the process of asking the number of rooms on the floor and number of occupied rooms if the total number of occupied rooms exceeds the total number of rooms on the floor. refer to sample outputs for more clarification.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 17:10
Type the correct answer in the box. spell all words correctly. which technology should andrea use? andrea owns a potato chips manufacturing unit. she has been getting complaints about the quality of the chips. she knows her product is good. she realizes that she needs to change the way the chips are packaged. she should use technology, which uses gases, such as carbon dioxide or argon, to create an air cushion, which improves the shelf life of products.
Answers: 2
question
Computers and Technology, 22.06.2019 02:00
Alocal reaction will occur at the site of the exposure such as irritation or damage to the skin eye or local reaction will occur at the site of the exposure such as irritation or damage to the skin ireland lounges
Answers: 3
question
Computers and Technology, 22.06.2019 03:30
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
question
Computers and Technology, 22.06.2019 23:30
Define a function printfeetinchshort, with int parameters numfeet and numinches, that prints using ' and " shorthand. ex: printfeetinchshort(5, 8) prints: 5' 8"
Answers: 1
You know the right answer?
Project description the bluemont chain hotels have 4 different types of room: single room: $60/nig...
Questions
question
Mathematics, 25.05.2021 21:40
question
Mathematics, 25.05.2021 21:40
question
Mathematics, 25.05.2021 21:40
Questions on the website: 13722360