Questions
Write a program that calculates the occupancy rate for a hotel. The program should start by asking the user how many floors the hotel has.

Use JAVA

Program #1: Hotel Occupancy: Write a program that calculates the occupancy rate for a hotel. The program should start by asking the user how many floors the hotel has. A for loop should then iterate once for each floor. In each iteration of the for loop, the program should ask the user for the number of rooms of the floor and how many of them are occupied. After all of the iterations are complete the program should display how many rooms the hotel has, how many of them are occupied, and the percentage of rooms that are occupied.

It is traditional that most hotels do not have a 13thfloor. The for loop in this program should skip the entire thirteenth loop iteration.

Input validation: Do not accept a value of less than one for the number of floors. Do not accept a value of less than 10 for the number of rooms on a floor. Do not accept a value for occupied that is greater than rooms.

EXAMPLE INPUT TO USE FOR TESTING (just an example your program should work for all different inputs):

If the Number of Floors in the Hotel: 16

And the user to INPUT the following information for total rooms and occupied rooms:

Floor #

Total Rooms

Occupied Rooms

1

200

180

2

170

100

3

50

20

4

125

125

5

100

80

6

200

80

7

80

40

8

90

45

9

95

0

10

115

103

11

125

17

12

140

128

14

130

129

15

100

99

16

60

24

The output of your program for the above example should be (do NOT print the above chart!):

The Hotel has 1780 Total Rooms.

1170 of the Rooms are Occupied.

66 % of the Rooms are Occupied.

Program #2: Pennies: For the first day worked a person earns $1.00 for the entire day. For the second day worked the person’s daily pay is doubled to $2.00. For the third day worked the person’s daily pay is doubled again to $4.00. For each consecutive day a person works their daily pay is doubled in this way.

Write a program that asks a user to enter the number of days they worked and then calculates the pay they earned for each day along with the total pay they earned for all of the days.   The program output should be the pay for each day and the total pay earned for all the days.

Input Validation: Do not let the user enter a number of days that is less than 1. Use a loop to prompt them to enter another number for the number of days if they enter a number that is less than 1.

Make sure and format your output.

Example: This would be the output for a person who worked 4 days

Pay for Day 1: $1.00
Pay for Day 2: $2.00
Pay for Day 3: $4.00
Pay for Day 4: $8.00

TOTAL PAY FOR 4 DAYS: $15.00

In: Computer Science

Case – Recreational Park Project The public has recognized the benefits of recreation and parks as...

Case – Recreational Park Project
The public has recognized the benefits of recreation and parks as essential to their health and quality of life. A recent survey conducted in 2016 found that the construction of more recreational facilities was a top priority among residents in Lazarette Town (in the Caribbean).
As such, the town council in Lazarette, with the help of other key stakeholders, has sourced and secured three (3) million dollars of grant funds from the Caribbean Wellness Community (CWC) for the development of a mini outdoor recreational park on three (3) acres of land donated by a benevolent resident of the town.   
The park will contain sporting facilities among other recreational facilities (e.g. walking trails, children playground, tennis court, basketball court, work out stations, benches, shower facilities, rest rooms etc.). All major key stakeholders and sponsors have unanimously agreed that that the facility should cater for residents of all ages. Additionally, a group of minority stakeholders has expressed their requirements of having an eco-friendly and climate resilient facility. The park should be completed and ready for use by 2022, i.e. the project duration should not exceed two years.
To ensure that the project is completed on time, within scope and on budget, the funding agency and the Lazarette Town Council require that a dedicated and knowledgeable project team is assigned to the project. CWC has expressed the need for the project deliverables to be of ‘high’ quality to guarantee stakeholders’ satisfaction and safety. The CWC requires that ‘tight’ procurement processes should be followed to ensure transparency, accountability and economy. It is anticipated that most of the goods, works and services for building the park will be procured from vendors, suppliers and contractors in the town. In addition, CWC has detailed the need for both positive and negative projects risk to be properly managed throughout the project.
In response to CWC implied and expressed requirements, the Lazarette Town Council has selected and appointed your team to provide project management services for the Recreational Park Project. As a proactive team, your team has decided to use ‘best practices’ in project management to plan project activities and get approval from key project stakeholders before constructing or building the facility. Give the type and nature of the project, the intention is to use a traditional/waterfall approach to project management activities instead of the largely popular and contemporary agile methodology used other industries.   
Your team understands the value of planning before doing, and the council’s concerns of not losing the grant funding from CWC. In addition, your team is keen on building a good reputation in the
town. With a can do attitude and the need to increase the chances of the project success, the project management team (your 5-member group) is determined to ensure that the team utilizes the ‘best practices’ for planning, executing and controlling this valuable community based project.

1.Develop a quality management plan to consist of quality management approach,quality requirements and standard,quality assurance,quality control and quality control measures.

In: Operations Management

Case – Recreational Park Project The public has recognized the benefits of recreation and parks as...

Case – Recreational Park Project

The public has recognized the benefits of recreation and parks as essential to their health and quality of life. A recent survey conducted in 2016 found that the construction of more recreational facilities was a top priority among residents in Lazarette Town (in the Caribbean).

As such, the town council in Lazarette, with the help of other key stakeholders, has sourced and secured three (3) million dollars of grant funds from the Caribbean Wellness Community (CWC) for the development of a mini outdoor recreational park on three (3) acres of land donated by a benevolent resident of the town.

The park will contain sporting facilities among other recreational facilities (e.g. walking trails, children playground, tennis court, basketball court, work out stations, benches, shower facilities, rest rooms etc.). All major key stakeholders and sponsors have unanimously agreed that that the facility should cater for residents of all ages. Additionally, a group of minority stakeholders has expressed their requirements of having an eco-friendly and climate resilient facility. The park should be completed and ready for use by 2022, i.e. the project duration should not exceed two years.

To ensure that the project is completed on time, within scope and on budget, the funding agency and the Lazarette Town Council require that a dedicated and knowledgeable project team is assigned to the project. CWC has expressed the need for the project deliverables to be of ‘high’ quality to guarantee stakeholders’ satisfaction and safety. The CWC requires that ‘tight’ procurement processes should be followed to ensure transparency, accountability and economy. It is anticipated that most of the goods, works and services for building the park will be procured from vendors, suppliers and contractors in the town. In addition, CWC has detailed the need for both positive and negative projects risk to be properly managed throughout the project.

In response to CWC implied and expressed requirements, the Lazarette Town Council has selected and appointed your team to provide project management services for the Recreational Park Project. As a proactive team, your team has decided to use ‘best practices’ in project management to plan project activities and get approval from key project stakeholders before constructing or building the facility. Give the type and nature of the project, the intention is to use a traditional/waterfall approach to project management activities instead of the largely popular and contemporary agile methodology used other industries.

Your team understands the value of planning before doing, and the council’s concerns of not losing the grant funding from CWC. In addition, your team is keen on building a good reputation in the

town. With a can do attitude and the need to increase the chances of the project success, the project management team (your 5-member group) is determined to ensure that the team utilizes the ‘best practices’ for planning, executing and controlling this valuable community based project.

1. Justify the need to effectively manage quality for the project.

In: Operations Management

Case – Recreational Park Project The public has recognized the benefits of recreation and parks as...

Case – Recreational Park Project

The public has recognized the benefits of recreation and parks as essential to their health and quality of life. A recent survey conducted in 2016 found that the construction of more recreational facilities was a top priority among residents in Lazarette Town (in the Caribbean).

As such, the town council in Lazarette, with the help of other key stakeholders, has sourced and secured three (3) million dollars of grant funds from the Caribbean Wellness Community (CWC) for the development of a mini outdoor recreational park on three (3) acres of land donated by a benevolent resident of the town.

The park will contain sporting facilities among other recreational facilities (e.g. walking trails, children playground, tennis court, basketball court, work out stations, benches, shower facilities, rest rooms etc.). All major key stakeholders and sponsors have unanimously agreed that that the facility should cater for residents of all ages. Additionally, a group of minority stakeholders has expressed their requirements of having an eco-friendly and climate resilient facility. The park should be completed and ready for use by 2022, i.e. the project duration should not exceed two years.

To ensure that the project is completed on time, within scope and on budget, the funding agency and the Lazarette Town Council require that a dedicated and knowledgeable project team is assigned to the project. CWC has expressed the need for the project deliverables to be of ‘high’ quality to guarantee stakeholders’ satisfaction and safety. The CWC requires that ‘tight’ procurement processes should be followed to ensure transparency, accountability and economy. It is anticipated that most of the goods, works and services for building the park will be procured from vendors, suppliers and contractors in the town. In addition, CWC has detailed the need for both positive and negative projects risk to be properly managed throughout the project.

In response to CWC implied and expressed requirements, the Lazarette Town Council has selected and appointed your team to provide project management services for the Recreational Park Project. As a proactive team, your team has decided to use ‘best practices’ in project management to plan project activities and get approval from key project stakeholders before constructing or building the facility. Give the type and nature of the project, the intention is to use a traditional/waterfall approach to project management activities instead of the largely popular and contemporary agile methodology used other industries.

Your team understands the value of planning before doing, and the council’s concerns of not losing the grant funding from CWC. In addition, your team is keen on building a good reputation in the

town. With a can do attitude and the need to increase the chances of the project success, the project management team (your 5-member group) is determined to ensure that the team utilizes the ‘best practices’ for planning, executing and controlling this valuable community based project.

1. Create an appropriate quality management plan for the project.

In: Operations Management

Recreational Park Project The public has recognized the benefits of recreation and parks as essential to...

Recreational Park Project
The public has recognized the benefits of recreation and parks as essential to their health and quality of life. A recent survey conducted in 2016 found that the construction of more recreational facilities was a top priority among residents in Lazarette Town (in the Caribbean).
As such, the town council in Lazarette, with the help of other key stakeholders, has sourced and secured three (3) million dollars of grant funds from the Caribbean Wellness Community (CWC) for the development of a mini outdoor recreational park on three (3) acres of land donated by a benevolent resident of the town.   
The park will contain sporting facilities among other recreational facilities (e.g. walking trails, children playground, tennis court, basketball court, work out stations, benches, shower facilities, rest rooms etc.). All major key stakeholders and sponsors have unanimously agreed that that the facility should cater for residents of all ages. Additionally, a group of minority stakeholders has expressed their requirements of having an eco-friendly and climate resilient facility. The park should be completed and ready for use by 2022, i.e. the project duration should not exceed two years.
To ensure that the project is completed on time, within scope and on budget, the funding agency and the Lazarette Town Council require that a dedicated and knowledgeable project team is assigned to the project. CWC has expressed the need for the project deliverables to be of ‘high’ quality to guarantee stakeholders’ satisfaction and safety. The CWC requires that ‘tight’ procurement processes should be followed to ensure transparency, accountability and economy. It is anticipated that most of the goods, works and services for building the park will be procured from vendors, suppliers and contractors in the town. In addition, CWC has detailed the need for both positive and negative projects risk to be properly managed throughout the project.
In response to CWC implied and expressed requirements, the Lazarette Town Council has selected and appointed your team to provide project management services for the Recreational Park Project. As a proactive team, your team has decided to use ‘best practices’ in project management to plan project activities and get approval from key project stakeholders before constructing or building the facility. Give the type and nature of the project, the intention is to use a traditional/waterfall approach to project management activities instead of the largely popular and contemporary agile methodology used other industries.   
Your team understands the value of planning before doing, and the council’s concerns of not losing the grant funding from CWC. In addition, your team is keen on building a good reputation in the
town. With a can do attitude and the need to increase the chances of the project success, the project management team (your 5-member group) is determined to ensure that the team utilizes the ‘best practices’ for planning, executing and controlling this valuable community based project.

1. Create an appropriate quality management plan for the project.

2. Justify the need to effectively manage quality for the project.

In: Operations Management

Country Burkina Faso Ethiopia Myanmar Ghana Kenya India Nicaragua Tunisia Guatemala Algeria Ecuador Peru Colombia Lebanon...

Country
Burkina Faso
Ethiopia
Myanmar
Ghana
Kenya
India
Nicaragua
Tunisia
Guatemala
Algeria
Ecuador
Peru
Colombia
Lebanon
China
Brazil
Mexico
Turkey
Argentina
Venezuela, RB
Greece
Portugal
Malta
Spain
Italy
Israel
Japan
France
New Zealand
United Arab Emirates
Belgium
United Kingdom
Canada
Germany
Finland
Austria
Netherlands
Ireland
Australia
Sweden
United States
Denmark
Iceland
Luxembourg
Switzerland
Norway
Average Income
640
660
1190
1380
1380
1680
2050
3690
3790
4270
5820
5950
6320
7680
8260
8840
9040
11180
11960
12500
18960
19850
24140
27520
31590
36190
38000
38950
39070
40480
41860
42390
43660
43660
44730
45230
46310
52560
54420
54630
56180
56730
56990
76660
81240
82330

In 2016, the global average annual income worldwide was estimated to be $10,850[1]. (This includes all countries of the world, not just the countries in the data table.)

[1] Source: Organization for Economic Co-operation and Development (OECD).

A) construct an 80%, 90%, 95%, 98%, 99% confidence interval to estimate the proportion of countries in the world with an average income greater than the global average. Calculate the Margin of Error for each confidence interval.

B) As the confidence level increases, what happens to the width of the interval? (Note: the width of the interval is the difference between the upper and lower limits.)

C) As the confidence level increases, what happens to the margin of error?

In: Statistics and Probability

Question 1: Below is a dataset for a sample of 33 countries with indicators of Obesity...

Question 1: Below is a dataset for a sample of 33 countries with indicators of Obesity Prevalence and GDP Per Capita for each country. How much variance in Obesity Prevalence is explained by GDP Per Capita? (Question pertains to Coefficient of Determination)

Country

Obesity prevalence (% of adults are obese)

GDP per capita (international-$)

Qatar

33.90

118,207

Luxembourg

24.20

94,921

Singapore

6.60

82,622

Brunei

14.70

71,789

Kuwait

37.00

68,862

United Arab Emirates

29.90

67,706

Norway

25.00

64,160

Ireland

26.90

63,227

Switzerland

21.20

57,422

United States

37.30

53,399

Saudi Arabia

35.00

50,423

Netherlands

23.10

47,270

Sweden

22.10

46,568

Denmark

21.30

45,991

Iceland

23.10

45,631

Australia

30.40

44,493

Austria

21.90

44,464

Germany

25.70

44,432

Bahrain

28.70

43,643

Canada

31.30

43,238

Belgium

24.50

42,084

Oman

22.90

39,884

Finland

24.90

39,659

United Kingdom

29.50

39,309

South Korea

4.90

35,020

Italy

22.90

34,655

Spain

27.10

33,320

Israel

26.70

32,688

Czech Republic

28.50

31,339

Cyprus

22.60

31,331

Slovenia

22.50

29,930

Trinidad and Tobago

19.70

29,541

Slovakia

22.40

29,212

Question 2. Below is a crosstab table for the number of smokers among males and females in a sample of 100 people. Is there a statistically significant association between Gender and Smoking? (Use Chi-Square).

Male

Female

Total

Smoking

22

18

40

Not smoking

26

34

60

Totals

48

52

100

In: Statistics and Probability

Given numRows and numCols, print a list of all seats in a theater. Rows are numbered,...

Given numRows and numCols, print a list of all seats in a theater. Rows are numbered, columns lettered, as in 1A or 3E. Print a space after each seat, including after the last. Ex: numRows = 2 and numCols = 3 prints:

1A 1B 1C 2A 2B 2C 

#include <iostream>
using namespace std;

int main() {
   int numRows = 2;
   int numCols = 3;

   // Note: You'll need to define more variables

   /* Your solution goes here */

   cout << endl;

   return 0;
}

In: Computer Science

Covid-19 started a derived demand, for instance, the high demand for hand sanitizer led to the...

Covid-19 started a derived demand, for instance, the high demand for hand sanitizer led to the derived demand of the isopropyl alcohol market .

What are some other covid- 19 derived demand, beside facemask ?

Definition of "Derived Demand"

Derived demand is a term in economics that describes the demand for a certain good or service resulting from a demand for related, necessary goods or services. For example, the demand for large-screen televisions creates a derived demand for home theater products such as audio speakers, amplifiers, and installation services.

In: Economics

A person with a cough is a persona non grata on airplanes, elevators, or at the...

A person with a cough is a persona non grata on airplanes, elevators, or at the theater. In theaters especially, the irritation level rises with each muffled explosion. According to Dr. Brian Carlin, a Pittsburgh pulmonologist, in any large audience you'll hear about 18 coughs per minute.

(b) Find the probability of four or fewer coughs (in a large auditorium) in a 1-minute period. (Use 4 decimal places.)

(c) Find the probability of at least eight coughs (in a large auditorium) in a 32-second period. (Use 4 decimal places.)

In: Statistics and Probability