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
In: Operations Management
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 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,
In: Statistics and Probability
In: Economics
In: Statistics and Probability
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
In: Chemistry
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:
| Standard | Standard | ||
|---|---|---|---|
| Quantity or | Standard Price or | Cost Per | |
| Hours | Rate | Unit | |
| Direct materials | 6.0 ounces | $3.00 per ounce | $18.00 |
| Direct labor | 0.3 hours | $11.00 per hour | $3.30 |
| Variable overhead | 0.3 hours | $9.00 per hour | $2.70 |
The company reported the following results concerning this product in June.
| Originally budgeted output | 3,600 units |
|---|---|
| Actual output | 3,200 units |
| Raw materials used in production | 21,000 ounces |
| Purchases of raw materials | 22,100 ounces |
| Actual direct labor-hours | 500 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