In this activity, you will create a C++ program that will help a member of the health community plan and prepare for a virus outbreak. This program will help them determine how many people will have a...


In this activity, you will create a C++ program that will help a member of the health<br>community plan and prepare for a virus outbreak. This program will help them determine<br>how many people will have a specific virus within the next 30 days.<br>For instance, the health community has determined that a particular virus spreads to<br>1437.39 people around the world every five days. The health experts need a program to<br>help them determine how many people will have contracted a particular virus within one<br>month (assume there are an average of 30 days in one month) so that they can plan to<br>purchase personal protective equipment.<br>Write the program that implements a loop in a program to report (display) to the health<br>professionals how many people will have the virus after each five-day period during the<br>next month (i.e., day 5, day 10, day 15, etc.) based on the number of individuals infected o<br>the day they run the report. The report will output the total number of individuals<br>projected to be infected for the next six periods (one report each 5 days for 30 days).<br>1. Create a new project called VirusReadiness and code the program so that it has the<br>following functionality:<br>i. A menu so that the user can select the name of a virus. The menu should<br>have 3 viruses they can choose from.<br>ii. The user should select an

Extracted text: In this activity, you will create a C++ program that will help a member of the health community plan and prepare for a virus outbreak. This program will help them determine how many people will have a specific virus within the next 30 days. For instance, the health community has determined that a particular virus spreads to 1437.39 people around the world every five days. The health experts need a program to help them determine how many people will have contracted a particular virus within one month (assume there are an average of 30 days in one month) so that they can plan to purchase personal protective equipment. Write the program that implements a loop in a program to report (display) to the health professionals how many people will have the virus after each five-day period during the next month (i.e., day 5, day 10, day 15, etc.) based on the number of individuals infected o the day they run the report. The report will output the total number of individuals projected to be infected for the next six periods (one report each 5 days for 30 days). 1. Create a new project called VirusReadiness and code the program so that it has the following functionality: i. A menu so that the user can select the name of a virus. The menu should have 3 viruses they can choose from. ii. The user should select an "integer" as the menu selection. 1 ii. If the user selects an integer outside of the range of values, the program should display a message that the user entered an invalid value and prompt the user to re-enter a proper value and give them the opportunity to enter another value. 2. Implement a loop in the program so that it will generate the values for the report. • The report should only output the values for one user choice at a time. • The report should display the project period (week) and the number of people projected to be infected with the virus for each period. Input • Prompt for the virus selection. Prompt for the number of individuals infected per day. Output • The virus name. • Number of people infected per day (entered by the user). • The report period (week #). The running total of individuals infected each five-day period. There will be 6 periods (weeks) reported.
Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here