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

Question 2: (20 Marks) Yankee Hotel Foxtrot initiated operations on July 1, 2014. To manage the...

Question 2:
Yankee Hotel Foxtrot initiated operations on July 1, 2014. To manage the company
officers and managers have requested monthly financial statements starting July 31, 2014.
The adjusted trial balance amounts at July 31 are shown below.
Debits Credits
Cash $ 7,680 Accumulated Depreciation-
Equipment $ 840
Accounts Receivable 810 Notes Payable 6,000
Prepaid Rent 1,965 Accounts Payable 2,140
Supplies 1,160 Salaries and Wages Payable 360
Equipment 11,400 Interest Payable 40
Owner's Drawings 800 Unearned Service Revenue 580
Salaries and Wages Expense 7,145 Owner's Capital 10,640
Rent Expense 2,740 Service Revenue 14,390
Depreciation Expense 665
Supplies Expense 580
Interest Expense 45
Total debits $ 34990 Total Credits $34990
Instructions
(A) Determine the net income for the month of July
(B) Determine the amount for Owner’s, Capital at July 31, 2014
(C) Determine the Balance Sheet at July 31, 2014 fo

In: Accounting

Question 2: Yankee Hotel Foxtrot initiated operations on July 1, 2014. To manage the company officers...

Question 2: Yankee Hotel Foxtrot initiated operations on July 1, 2014. To manage the company officers and managers have requested monthly financial statements starting July 31, 2014. The adjusted trial balance amounts at July 31 are shown below.

Debits Credits
Cash $7,680 Accumulated Depreciation-
Equipment $840
Accounts Receivable 810 Notes Payable 6,000
Prepaid Rent 1,965 Accounts Payable 2,140
Supplies 1,160 Salaries and Wages Payable 360
Equipment 11,400 Interest Payable 40
Owner's Drawings 800 Unearned Service Revenue 580
Salaries and Wages Expense 7,145 Owner's Capital 10,640
Rent Expense 2,740 Service Revenue 14,390
Depreciation Expense 665
Supplies Expense 580
Interest Expense 45
Total debits $34990 Total Credits $34990

Instructions

(A) Determine the net income for the month of July

(B) Determine the amount for Owner’s, Capital at July 31, 2014

(C) Determine the Balance Sheet at July 31, 2014 for

In: Accounting

Yankee Hotel Foxtrot initiated operations on July 1, 2014. To manage the company officers and managers...

Yankee Hotel Foxtrot initiated operations on July 1, 2014. To manage the company officers and managers have requested monthly financial statements starting July 31, 2014. The adjusted trial balance amounts at July 31 are shown below. Debits Credits Cash $ 7,680 Accumulated Depreciation- Equipment $ 840 Accounts Receivable 810 Notes Payable 6,000 Prepaid Rent 1,965 Accounts Payable 2,140 Supplies 1,160 Salaries and Wages Payable 360 Equipment 11,400 Interest Payable 40 Owner's Drawings 800 Unearned Service Revenue 580 Salaries and Wages Expense 7,145 Owner's Capital 10,640 Rent Expense 2,740 Service Revenue 14,390 Depreciation Expense 665 Supplies Expense 580 Interest Expense 45 Total debits $ 34990 Total Credits $34990 Instructions (A) Determine the net income for the month of July (B) Determine the amount for Owner’s, Capital at July 31, 2014 (C) Determine the Balance Sheet at July 31, 2014 for

In: Accounting

The following table shows age distribution and location of a random sample of 166 buffalo in...

The following table shows age distribution and location of a random sample of 166 buffalo in a national park.

Age Lamar District Nez Perce District Firehole District Row Total
Calf 16 12 13 41
Yearling 10 12 11 33
Adult 30 31 31 92
Column Total 56

Use a chi-square test to determine if age distribution and location are independent at the 0.05 level of significance.

(a) What is the level of significance?

--------------

State the null and alternate hypotheses.

H0: Age distribution and location are independent.

H1: Age distribution and location are not independent.

H0: Age distribution and location are not independent.

H1: Age distribution and location are not independent.

H0: Age distribution and location are not independent.

H1: Age distribution and location are independent.

H0: Age distribution and location are independent.

H1: Age distribution and location are independent.  

(b) Find the value of the chi-square statistic for the sample. (Round the expected frequencies to at least three decimal places. Round the test statistic to three decimal places.)

-------------

In: Statistics and Probability

Finance & Real Estate Open Ended Question: Many zoning laws have a rule that when a...

Finance & Real Estate Open Ended Question:

Many zoning laws have a rule that when a developer provides a positive externality for the neighborhood, for example by creating a park, they can build extra floors on their building. Do you think this is fair? Explain.

In: Finance

Discuss the factors that contributes to the lack of tour operator offering online booking for their...

Discuss the factors that contributes to the lack of tour operator offering online booking for their packages despite computer and mobile phone applications that have been created to support many aspects of travel, including travel guides, customer reviews, with hotel and flight reservations.

In: Operations Management

Please be original and use your owm words You are trying to decide whether to take...

Please be original and use your owm words

You are trying to decide whether to take a vacation. Most of the costs of the vacation (airfare, hotel, and forgone wages) are measured in dollars, but the benefits of the vacation are psychological. How can you compare the benefits to the costs?

In: Economics

System Design and Analysis Analyze and design a hotel reservation system - Should include the following...

System Design and Analysis

Analyze and design a hotel reservation system -

Should include the following

- Create a Data Flow Diargram that includes Context Diagram and DFD 0
- Create a Use Case Diagram and include 8 fully-dressed use cases.

In: Computer Science

account cycle Week Transaction 1 Received $3000 as contribution to the corporation Purchased Park Place for...

account cycle

Week Transaction
1 Received $3000 as contribution to the corporation
Purchased Park Place for $350 Purchased St. James Place for $180 Purchased Pennsylvania RR for $200
Purchased house for St James Place $100 and $52 Insurance
2 Received $25 in Rent from Pennsylvania RR
Purchased Kentucky Ave for $220
Purchased Pacific Ave for $300
3 Purchased Boardwalk for $400 Purchased house for Park Place for $200 and $52 insurance
Received $650 for passing go the 1st time
Paid $30 in rent to Oriental Ave
Received $26 rent for Pacific Avenue
4 Received $26 rent for Pacific Avenue
Purchased house for Boardwalk for $200 and $52 insurance
Received $175 in Rent from Park Place
NOTE: Cash on hand before dividend payment is $1,566 Paid required dividend to stockholders
5 Received $200 rent for Boardwalk
Received $200 rent for Boardwalk
Paid $25 rent for BO Railroad
6 Paid $75 for repairs (Misc Expense)
Purchased house for Park Place for $200 and $52 insurance
7 Purchased house for BoardWalk for $200 and $52 insurance
8 Received $25 rent from Pennsylvania Railroad
Received $18 rent from Kentucky Ave
Purchased house for Kentucky for $150 and $52 insurance
Received $650 for passing GO the second time
9 no transactions
10 Received $70 rent for St James
Received $250 for Free Parking
11 Received $600 rent from Boardwalk
Paid $100 rent for Illinois Ave
Received $25 rent for Pennsylvania Railroad
12 Received $26 rent for Pacific Ave
Received $100 (Gain from Lawsuit)
Purchased house for St James Place for $100 and $52 insurance
13 Paid $50 rent for Short Line Railroad
Paid $100 for Luxury Tax
NOTE: Cash on hand at end of week 13 is $2,441

In: Accounting