The following table contains data for total daily numbers of new(active) patients admitted to COVID Control...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The following table contains data for total daily numbers of new(active) patients admitted to COVID Control centre for the Nine districts in Selangor for the first two weeks of June 2021. The data are grouped into male(M) and female(F) patients. COVID-19 NEW CASES JUNE 2021 - SELANGOR WEEK1 & SUNDAY MONDAY WEDNESDAY THURSDAY TUESDAY FRIDAY SATURDAY WEEK2 M F M F F M M M F M F M F GOMBAK 100 20 102 34 110 31 90 26 105 70 78 83 90 75 KLANG 120 24 122 41 132 38 108 31 125 84 94 99 108 90 SABAK 30 6. 31 10 33 9 27 8 31 21 24 29 27 23 BERNAM SEPANG 20 4 20 7 22 18 21 14 16 21 18 15 HULU 10 2 10 3 11 3 10 7 8. 13 8 LANGAT KUALA 5. 6. 1 9 5 LANGAT PETALING 150 30 153 51 165 47 135 39 157 105 118 123 135 112 HULU 20 4 20 22 18 21 14 16 21 18 15 SELANGOR KUALA 3 3. 1 3 3 SELANGOR The Selangor COVID task force requested you to construct a complete C++ program to do the following: • Add the above data and simulate data for week3 and week4 for the month and store them in a data file as input. • A record of Head of center's as well as hospital director's contact details for every district is also required for communication purpose and stored in a separate input file. Read the data from the input file and store it into appropriate data structure. • Determine and display the total new cases for every district for the month. • Determine and display the highest new cases and the district in the month. • Assuming the rate of daily recovery is 50% and 1% death prediction from active cases, display a warning sign if the weekly active rate (total new cases - total recovery- total death) has reached 1000. • Determine the number of doctors and nurses required for each district using the distribution of 1 doctor per 20 patients and 1 nurse per 30 patients At the end of the process, design and prepare a report of the above findings together with other important details and write it into a file named "covid19_June.out. 4, 3. 00 o 2. 3. 2. in m 3. 6. 7, 1. The following table contains data for total daily numbers of new(active) patients admitted to COVID Control centre for the Nine districts in Selangor for the first two weeks of June 2021. The data are grouped into male(M) and female(F) patients. COVID-19 NEW CASES JUNE 2021 - SELANGOR WEEK1 & SUNDAY MONDAY WEDNESDAY THURSDAY TUESDAY FRIDAY SATURDAY WEEK2 M F M F F M M M F M F M F GOMBAK 100 20 102 34 110 31 90 26 105 70 78 83 90 75 KLANG 120 24 122 41 132 38 108 31 125 84 94 99 108 90 SABAK 30 6. 31 10 33 9 27 8 31 21 24 29 27 23 BERNAM SEPANG 20 4 20 7 22 18 21 14 16 21 18 15 HULU 10 2 10 3 11 3 10 7 8. 13 8 LANGAT KUALA 5. 6. 1 9 5 LANGAT PETALING 150 30 153 51 165 47 135 39 157 105 118 123 135 112 HULU 20 4 20 22 18 21 14 16 21 18 15 SELANGOR KUALA 3 3. 1 3 3 SELANGOR The Selangor COVID task force requested you to construct a complete C++ program to do the following: • Add the above data and simulate data for week3 and week4 for the month and store them in a data file as input. • A record of Head of center's as well as hospital director's contact details for every district is also required for communication purpose and stored in a separate input file. Read the data from the input file and store it into appropriate data structure. • Determine and display the total new cases for every district for the month. • Determine and display the highest new cases and the district in the month. • Assuming the rate of daily recovery is 50% and 1% death prediction from active cases, display a warning sign if the weekly active rate (total new cases - total recovery- total death) has reached 1000. • Determine the number of doctors and nurses required for each district using the distribution of 1 doctor per 20 patients and 1 nurse per 30 patients At the end of the process, design and prepare a report of the above findings together with other important details and write it into a file named "covid19_June.out. 4, 3. 00 o 2. 3. 2. in m 3. 6. 7, 1.
Expert Answer:
Answer rating: 100% (QA)
CODE includeciostream include include using namespac... View the full answer
Related Book For
Posted Date:
Students also viewed these general management questions
-
The following table contains a hypothetical partial master budget performance report for Sweet Earth Organic Chocolates. Fill in the missing amounts. Be sure to indicate whether variances are...
-
The following table contains a partial master budget performance report for Decadent Chocolates. Fill in the missing amounts. Be sure to indicate whether variances are favorable (F) or unfavorable...
-
The following table contains a hypothetical partial master budget performance report for New England Fudge Company. Fill in the missing amounts. Be sure to indicate whether variances are favorable...
-
What is the output of the following? A. 1223445 B. 2445 C. 22445 D. 223445 E. 2233445 F. None of the above. public class InitOrder { } {System.out.print("1"); } static System.out.print("2"); } public...
-
What nonprofit business could you start in your commuity? Answer the following questions to describe it: a. What is the name of your nonprofit? b. What problem(s) are you are trying to solve? c....
-
Maggie's Magazines (MM) has straight nonconvertible bonds that currently yield 9%. MM's stock sells for $22 per share, has an expected constant growth rate of 6%, and has a dividend yield of 4%. MM...
-
Consider the following observations: a. Fit the nonlinear regression model \[ y=\theta_{1} e^{\theta_{2} x}+\varepsilon \] to these data. Discuss how you obtained the starting values. b. Test for...
-
AIG, which received more than $170,000,000 in taxpayer bailout money from the U.S. Treasury, planned to pay $165,000,000 in bonuses to its executives in 2009. Requirement 1. Suppose you were one of...
-
Your company, TS&S Inc., has decided to enter the seafood industry, and is considering buying FreshFish, Inc., a procurer and distributor of fresh seafood, located in Cabo San Lucas, Mexico.FreshFish...
-
Sukdev Basi funded an irrevocable simple trust in May 2008. The trust benefits Sukdev's son for life and grandson upon the son's death. One of the assets he transferred to the trust was Jetco stock,...
-
1) You are enjoying a pleasant day at the beach. While sitting on your beach blanket eating lunch, an obnoxious seagull comes and steels one of your french fries. To scare the seagull away, you take...
-
Explain what you did with any disclosure forms you had signed during the open house.
-
Analyze how a nonmarket issue affects Google, identify three or four possible strategies on how to address the nonmarket issue, and make a recommendation about which strategy should be utilized and...
-
Identify how the "New Deal" affected the U.S. macroeconomy. Discuss how the U.S. economy in 2008 differed from the U.S. economy during the "Great Depression." Describe the point on the Production...
-
1How has the work environment for managers and employees changed over time? 2.Describe the importance of communicationas a manager within your workplace. Do you believe it is at an acceptable level?...
-
Continuing with the organization that you chose, develop Part 3 of the plan, following the process outlined on Continue with the approach you decided to take, either as a consultant or as the...
-
You are designing a mission to pass close to a mysterious object in a circular orbit about the sun with a radius of 2.8 x 10 11 m. You want to incorporate a Mars flyby to gain velocity such that your...
-
A superior criticized a sales manager for selling high-revenue, low-profit items instead of lower-revenue but higher-profit items. The sales manager responded, My income is based on commissions that...
-
Each autumn, as a hobby, Mary Snyder weaves cotton placemats to sell at a local craft shop. The mats sell for $ 30 per set of four mats. The shop charges a 20% commission and remits the net proceeds...
-
1. A beverage company is considering whether to discontinue its line of grape soda. What factors will affect the companys decision? What is a qualitative factor? Which of the factors you listed are...
-
Sylvan Industries manufactures plastic bottles for the food industry. On average, Sylvan pays $ 71 per ton for its plastics. Sylvans waste disposal company has increased its waste disposal charge to...
-
In a collision experiment, the ratio of the velocity change between two carts of equal inertia is found to equal 1. What happens to this ratio if the experiment is repeated in the following...
-
Two objects collide on a low-friction track. Object 1 experiences a magnitude of change in velocity \(\left|\Delta \vec{v}_{1} ight|=3 \mathrm{~m} / \mathrm{s}\), while object 2 has \(\left|\Delta...
-
Two carts of equal inertia are moving in opposite directions toward each other. Figure P4.7 represents the positions of the carts until they collide. Sketch the positions of the carts after the...
Study smarter with the SolutionInn App