Questions
I need to make an application that calculates the occupancy rate for a hotel with eight...

I need to make an application that calculates the occupancy rate for a hotel with eight floors. The user will be asked how many rooms are occupied on each floor. The program will iterate for each floor. Users must enter numbers and the rooms occupied on each floor cannot exceed 30. The occupancy rate is the number of occupied rooms/ unnoccupied.  The application also needs to display the occupancy for each individual floor aswell. Each floor has a maximum of 30 rooms. There are 240 rooms in total. The application doesn't need any fancy graphics just simple text. I'm really lost where to start. I know I need to use for loops and while but I'm not sure how to apply it. Can I get some help?

Python

The code needs to be in Python

In: Computer Science

Chermo was the new GM at a world-class resort that was part of a multiunit hotel...

Chermo was the new GM at a world-class resort that was part of a multiunit hotel group that had just opened on an island in the South Pacific. His organization had purchased an existing resort property at a beautiful beach location and had spent 18 months and millions of U.S. dollars to renovate the property. In efforts to appease the community and because it needed experienced staff members, it had employed many of the previous hotel’s employees during the remodeling process and had offered them positions in the new property when it opened.

One of these staff members was Bula Ben (not his real name but that which he preferred) who was responsible for the property’s landscape maintenance. During the first three weeks after the property opened, he was responsible for three problems: he had purchased and directed his grounds persons to spray toxic chemicals around the pool and outdoor dining areas to control insects and ground lizards; he had, without permission, begun building a storage shed to house equipment used to protect windows during cyclone emergencies; and he unilaterally determined which of his staff should be available to interact with guests during their arrival and departure ceremonies.

1. If you were the expatriate GM, what would you do about “Bula Ben”?
2. What might cause Bula Ben to act without approval?
3. What, if any, critical concerns might these “problem” examples suggest about the property’s management and leadership procedures?

In: Operations Management

Assume you are the general manager of a large hotel and have formulated a strategy of...

Assume you are the general manager of a large hotel and have formulated a strategy of renting banquet facilities to organizations for big events. At a monthly management meeting, your sales manager informs the head of food operations that a big reception in one week will require converting a large hall from a meeting room to a banquet facility in 60 minutes...a difficult but an achievable operation that will require precise planning and extra help. The food operations manager is furious about not being informed earlier. What is wrong here? As the general manager what strategies will you put in place to resolve the issue?

In: Operations Management

When you order a Lyft, the probability that you get a Subaru is 0.4. Further, the...

When you order a Lyft, the probability that you get a Subaru is 0.4. Further, the probability that you get a white car is 0.3, and that you will get a white Subaru is 0.2. Find the probability that,

  1. You will get a non-white, non-Subaru car
  2. You will get a white, non-Subaru car

In: Statistics and Probability

For the following production functions, find the returns to scales. 1. F(K,L)=K^0.3L^0.7 2. F(K,L)=2K+L 3. F(K,L)=KL...

For the following production functions, find the returns to scales.
1. F(K,L)=K^0.3L^0.7
2. F(K,L)=2K+L
3. F(K,L)=KL
4. F(K,L)=K^0.2L^0.3

An explanation on how to do this, would be appreciated!

In: Economics

the number of cars arriving at a bank car service between 3:00 pm and 6:00 pm...

the number of cars arriving at a bank car service between 3:00 pm and 6:00 pm on Friday, according to a Poisson process at the rate of 0.3 cars per minute. Calculate the probability that at least 4 cars arrive at the bank between 4:00 pm and 4:10 pm

In: Statistics and Probability

A solution of benzene and toluene is at equilibrium with vapour phase at 1 atm. Benzene...

A solution of benzene and toluene is at equilibrium with vapour phase at 1 atm. Benzene and toluene form ideal solution. The vapour phase, which is at equilibrium with liquid (solution) is ideal gas. Activity of benzene in solution is 0.3.

a) Determine the temperature of the system at equilibrium.

b) Determine the vapour pressure of benzene at the system’s temperature.

In: Other

Use this equilibrium equation to complete the next question: 4 SO4^2- + 4 Co^3+ <---> S2O8^2-...

Use this equilibrium equation to complete the next question: 4 SO4^2- + 4 Co^3+ <---> S2O8^2- + 4Co^2+

If the equilibrium constant is 9*10 ^-9
Find all concentrations of the initial Co^3+ concentration is 0.5 M and the initial SO4^2- concentration is 0.3 M

In: Chemistry

Tharaldson Corporation makes a product with the following standard costs: Standard Quantity or Hours Standard Price...

Tharaldson Corporation makes a product with the following standard costs:

Standard Quantity or Hours Standard Price or Rate Standard Cost Per Unit
Direct materials 7.2 ounces $ 2.00 per ounce $ 14.40
Direct labor 0.3 hours $ 16.00 per hour $ 4.80
Variable overhead 0.3 hours $ 5.00 per hour $ 1.50

The company reported the following results concerning this product in June.

Originally budgeted output 2,600 units
Actual output 2,200 units
Raw materials used in production 20,400 ounces
Purchases of raw materials 21,500 ounces
Actual direct labor-hours 500 hours
Actual cost of raw materials purchases $ 42,000
Actual direct labor cost $ 12,600
Actual variable overhead cost $ 3,300

The company applies variable overhead on the basis of direct labor-hours. The direct materials purchases variance is computed when the materials are purchased.

The variable overhead efficiency variance for June is:

In: Accounting

Tharaldson Corporation makes a product with the following standard costs

Tharaldson Corporation makes a product with the following standard costs: 


Standard
Standard

Quantity orStandard Price orCost Per

HoursRateUnit
Direct materials6.0 ounces$3.00 per ounce$18.00
Direct labor0.3 hours$11.00 per hour$3.30
Variable overhead0.3 hours$9.00 per hour$2.70


The company reported the following results concerning this product in June. 

Originally budgeted output3,600 units
Actual output3,200 units
Raw materials used in production21,000 ounces
Purchases of raw materials22,100 ounces
Actual direct labor-hours500 hours
Actual cost of raw materials purchases$42,300
Actual direct labor cost$13,600
Actual variable overhead cost$3,800

The company applies variable overhead on the basis of direct labor-hours. The direct materials purchases variance is computed when the materials are purchased. 

The labor efficiency variance for June is:

In: Accounting