Computers and Technology

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:30, caldonjoshhsms2061
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
image
Computers and Technology, 22.06.2019 15:30, coollid876
To increase sales, robert sends out a newsletter to his customers each month, letting them know about new products and ways in which to use them. in order to protect his customers' privacy, he uses this field when addressing his e-mail. attach bcc forward to
Answers: 2
image
Computers and Technology, 22.06.2019 17:20, Korkot7633
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
image
Computers and Technology, 23.06.2019 02:00, magicalunicorns47
Arecipients list has been loaded into a document. which commands should be clicked in order to filter the list so that letters will not be printed for recipients who live in a certain state? mailings tab, start mail merge, select recipients, type new list, then insert only contacts from the desired states mailings tab, rules, select recipients, use existing list, then choose a recipients list that includes only contacts in certain states mailings tab, select recipients, use existing list, rules, fill in, then type in certain states mailings tab, rules, skip record select “state” under field name, then type in the state name under “equal to”
Answers: 2
Do you know the correct answer?
Project description the bluemont chain hotels have 4 different types of room: single room: $60/nig...

Questions in other subjects:

Konu
Mathematics, 26.04.2021 08:00
Konu
Mathematics, 26.04.2021 08:00
Konu
Mathematics, 26.04.2021 08:00
Konu
Physics, 26.04.2021 08:00
Konu
Physics, 26.04.2021 08:00
Konu
Computers and Technology, 26.04.2021 08:00