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, 23.06.2019 06:00
When is a chart legend used a. all the time b. whenever you are comparing data that is the same c. whenever you are comparing multiple sets of data d. only for hand-drawn charts
Answers: 2
question
Computers and Technology, 23.06.2019 06:30
To become an audio technician, the most successful tactics might include the following. (select all that apply). learning how to persuade other people gaining different types of experience in audio technology learning as much as possible about art history establishing a reputation as a reliable professional
Answers: 1
question
Computers and Technology, 23.06.2019 12:30
Animations and transitions are added from the
Answers: 1
question
Computers and Technology, 23.06.2019 15:30
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
You know the right answer?
Project description the bluemont chain hotels have 4 different types of room: single room: $60/nig...
Questions
question
History, 30.08.2019 15:50
question
Mathematics, 30.08.2019 15:50
question
Mathematics, 30.08.2019 15:50
Questions on the website: 13722362