In c++, please make it short and simple
A hotel chain needs a program which will produce statistics for the hotels it owns.
Write a program which displays the occupancy rate and other statistics for any of the chain’s large hotels (all are 20 floors with 16 rooms each floor).
In main:
-declare a 20 X 16 array of “int” named hotel to represent a hotel’s 20 floors and 16 rooms per floor.
Then in main, repeatedly:
-call a function which fills the hotel array with 1s and 0s, where 1 indicates an occupied room and 0 indicates an unoccupied room. Call a second function to validate that each entry is either 1 or 0 by having the second function access the original entry using a pointer in its parameter list.
-pass the hotel array to a third function which dynamically allocates a new size 20 “int” array with each element representing a floor of the hotel and the floor’s number of occupied rooms; place the number of occupied rooms of each floor into the new array and return it to main.
-display the floor number** and number of occupied rooms on each floor by incrementing the address of the new array.
-also calculate and display the hotel’s overall occupancy rate to 1 decimal (total rooms occupied per total rooms), and the floor number** and number of occupied rooms of the floor with the highest occupancy.
-process another hotel (unknown number of hotels in chain).
**NOTE: hotels do not have a floor numbered 13 due to guests’ superstitions.
To create your screen print, temporarily set the floors and rooms to 3 and 5 respectively to reduce data entry, and enter:
Floor #1: occupied, occupied, unoccupied, occupied, unoccupied
Floor #2: occupied, unoccupied, occupied, occupied, occupied
Floor #3: occupied, unoccupied, unoccupied, unoccupied, occupied
In: Computer Science
Please share your research, experience, and thoughts: In today’s society, we are dealing with a New Era, health care access and coverage for the LGBT Community in the United States are on the rise. While these changes are expected to increase health insurance coverage and access for LGBT individuals and their families, many challenges and questions remain, including:
**Note that some states are designing legislation to abolish counseling for transgender individuals--which tends to always fail. Should policy simply be to provide "treatment" and surgery for these individuals? Recently a transgender teen threw herself in front of a bus and died because her counseling had failed--and surgery seemed farther away.
In: Nursing
National Park Tours Co. is a travel agency. The nine transactions recorded by National Park Tours during May 2019, its first month of operations, are indicated in the followingT accounts:
| Cash | Equipment | Beth Worley, Drawing | |||||
|---|---|---|---|---|---|---|---|
| (1) 32,000 | (2) 2,250 | (3) 23,000 | (9) 3,200 | ||||
| (7) 12,800 | (3) 4,150 | ||||||
| (4) 3,500 | |||||||
| (6) 9,600 | |||||||
| (9) 3,200 | |||||||
| Accounts Receivable | Accounts Payable | Fees Earned | |||||
|---|---|---|---|---|---|---|---|
| (5) 17,300 | (7) 12,800 | (6) 9,600 | (3) 18,850 | (5) 17,300 | |||
| Supplies | Beth Worley, Capital | Operating Expenses | |||||
|---|---|---|---|---|---|---|---|
| (2) 2,250 | (8) 1,300 | (1) 32,000 | (4) 3,500 | ||||
| (8) 1,300 | |||||||
a. Prepare an unadjusted trial balance, listing the accounts in their proper order. Place the amounts in the proper columns. If an entry is not required in an amount box, leave it blank.
| National Park Tours Co. | ||
| Unadjusted Trial Balance | ||
| May 31, 2019 | ||
| Debit Balances |
Credit Balances |
|
| Cash | ||
| Accounts Receivable | ||
| Supplies | ||
| Equipment | ||
| Accounts Payable | ||
| Beth Worley, Capital | ||
| Beth Worley, Drawing | ||
| Fees Earned | ||
| Operating Expenses | ||
b. Based upon the unadjusted trial balance,
determine the net income or net loss.
$
Feedback
b. Consider the accounts involved in determining net income or net loss.
In: Accounting
National Park Tours Co. is a travel agency. The nine
transactions recorded by National Park Tours during May 2019, its
first month of operations, are indicated in the following T
accounts:
| Cash | Equipment | Beth Worley, Drawing | |||||
|---|---|---|---|---|---|---|---|
| (1) 75,000 | (2) 900 | (3) 8,000 | (9) 2,500 | ||||
| (7) 8,150 | (3) 1,600 | ||||||
| (4) 6,280 | |||||||
| (6) 2,700 | |||||||
| (9) 2,500 | |||||||
| Accounts Receivable | Accounts Payable | Fees Earned | |||||
|---|---|---|---|---|---|---|---|
| (5) 12,300 | (7) 8,150 | (6) 2,700 | (3) 6,400 | (5) 12,300 | |||
| Supplies | Beth Worley, Capital | Operating Expenses | |||||
|---|---|---|---|---|---|---|---|
| (2) 900 | (8) 660 | (1) 75,000 | (4) 6,280 | ||||
| (8) 660 | |||||||
Prepare the nine journal entries from which the postings were made. For a compound transaction, if an amount box does not require an entry, leave it blank.
| (1) | |||
| (2) | |||
| (3) | |||
| (4) | |||
| (5) | |||
| (6) | |||
| (7) | |||
| (8) | |||
| (9) | |||
Check My Work
In: Accounting
Describe in detail a “business process”from Mandarin Hotel.
In: Operations Management
true or false
1) Business travel demand for hotel rooms in an area is 80% and vacation travel demand 20%. Annual compound business travel growth is 7% and vacation travel 10%. Total composite growth rate is 7.6%.
2) The business traveler component of demand for hotel rooms in an area is 80% and has been growing at 7% a year. Composite growth rate is 56%.
In: Accounting
In: Statistics and Probability
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? Compare the airfare and hotel costs of the vacation to the foregone wages. Determine the benefits of what you give up by going on the vacation, and compare them to the benefits of going on the vacation. Get a degree in psychology.
In: Economics
In: Biology
For each of the following policy changes, explaim why
the change is or is not likely to be a Pareto improvement.
a) Building a park, financed by an increase in the local property
tax rate
b) Building a park, financed by the donatiom of a rich
philanthropist
c)Increasing medical facilities for lung cancer, financed out of a
general revenues
d)Increasing medical rate facilities for lung cancer, finances out
of an increase in the cigarette tax
In: Economics