The goal is to report weekly on a 10 weeks vaccination drive. The program will ask...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
The goal is to report weekly on a 10 weeks vaccination drive. The program will ask for the following input from the user: 1. Population of the state (in millions) 2. Number of people already vaccinated (in millions) 3. Current weekly vaccination rate (in millions) 4. Weekly Increase in vaccination Rate as a percentage (WIR) The number of vaccinations administered each week will be WIR percent higher than the number administered the previous week. The program will print the number of people vaccinated at the end of each week during the drive. Finally, the program will print the percentage of the population vaccinated at the end of the drive. Program Prompt: Enter the Population of the state (in millions) User response: 60 Program Prompt: Enter the Number of people already vaccinated (in millions) User response: 20 Program Prompt: Enter the Current weekly vaccination rate (in millions) User response: 1.2. Program Prompt: Enter the Weekly Increase in vaccination Rate as a percentage (WIR) User response: 20 Program prints/output: At the end of week 1, people vaccinated (in millions): 21.2 t the end of week 2, people vac illions): At the end of week 3, people vaccinated (in millions): 24.368 At the end of week 4, people vaccinated (in millions): 26.4416 At the end of week 5, people vaccinated (in millions): 28.92992 At the end of week 6, people vaccinated (in millions): 31.915904 At the end of week 7, people vaccinated (in millions): 35.4990848 At the end of week 8, people vaccinated (in millions): 39.79890176 At the end of week 9, people vaccinated (in millions): 44.958682112 At the end of week 10, people vaccinated (in millions): 51.1504185344 The percentage of the population vaccinated at the end of the drive is 85.25069755733332 The goal is to report weekly on a 10 weeks vaccination drive. The program will ask for the following input from the user: 1. Population of the state (in millions) 2. Number of people already vaccinated (in millions) 3. Current weekly vaccination rate (in millions) 4. Weekly Increase in vaccination Rate as a percentage (WIR) The number of vaccinations administered each week will be WIR percent higher than the number administered the previous week. The program will print the number of people vaccinated at the end of each week during the drive. Finally, the program will print the percentage of the population vaccinated at the end of the drive. Program Prompt: Enter the Population of the state (in millions) User response: 60 Program Prompt: Enter the Number of people already vaccinated (in millions) User response: 20 Program Prompt: Enter the Current weekly vaccination rate (in millions) User response: 1.2. Program Prompt: Enter the Weekly Increase in vaccination Rate as a percentage (WIR) User response: 20 Program prints/output: At the end of week 1, people vaccinated (in millions): 21.2 t the end of week 2, people vac illions): At the end of week 3, people vaccinated (in millions): 24.368 At the end of week 4, people vaccinated (in millions): 26.4416 At the end of week 5, people vaccinated (in millions): 28.92992 At the end of week 6, people vaccinated (in millions): 31.915904 At the end of week 7, people vaccinated (in millions): 35.4990848 At the end of week 8, people vaccinated (in millions): 39.79890176 At the end of week 9, people vaccinated (in millions): 44.958682112 At the end of week 10, people vaccinated (in millions): 51.1504185344 The percentage of the population vaccinated at the end of the drive is 85.25069755733332
Expert Answer:
Answer rating: 100% (QA)
def vaccinationdrive Get input from the user population floatinputEnter the Population of the ... View the full answer
Related Book For
Systems Analysis And Design
ISBN: 978-1119496489
7th Edition
Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth
Posted Date:
Students also viewed these accounting questions
-
In 2023 , John and Peggy Smith purchase and install the following : two exterior doors at a cost of $ 1,000 each , windows and skylights at a total cost of $ 2,200 , and one central air conditioner...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Please help with the discusin questions ! I give thumbs up Case #1: Hailing a New Era: Haier in Japan As one of the most valuable brands in China, Haier designs,manufactures, and sells various home...
-
Identify the five multicultural factors requiring special consideration.
-
1- "Should the FMLA be changed" 2- "Should regulations regarding the use of cell phones while driving be changed" 3- " Should DUI laws be changed", Explain the reason for selecting topic, identify...
-
Meagan is a graduate student in the accounting program at your school. While she has excelled in her auditing classes, managerial and cost accounting, and AIS classes, she has not performed as well...
-
What is the difference between a Mode and a State?
-
This problem continues the Draper Consulting, Inc., situation from Problem 5-43 in Chapter 5. Consider the January transactions for Draper Consulting that were presented in Chapter 5. (Cost data has...
-
SuperDry manufactures and sells T-shirts for all kinds of events. The company has two manufacturing operations shirt-making and printing. When the company receives an order, the shirt-making...
-
Compare the plans developed in Exercise 7.33 in terms of average fraction inspected and their operating-characteristic curves. Which plan would you prefer if ? Exercise 7.33 Suppose that CSP-1 is...
-
With you being the CEO of Kerr's Bakery & more Located in Kingston, Jamaica Baked products of cakes, pudding and pastries, Create the following for your company: 1. Rational and Objective 2.Target...
-
six recommended action steps to improve the individual or family's financial situation Recommended financial products such as bank accounts, insurance policies, investments, etc. Calculations of the...
-
Please be sure not to copy any answers verbatim. original answers needed will be scanned through the safe-assign system. please review detailed answer the following questions below in regards to the...
-
Consider a structure loaded as shown below. Note that force F points in the x- direction, W in the-y-direction and P in the -z-direction. 2m D C 1.2 m Z P y W B X Cross-section at C B a N X Suppose...
-
2.create a significantly offset operating expenses. He recommends savings that grow each year: 5-year project life, 10% discount rate, and a 10% annual savings growth in years 2 through 5. In other...
-
Financial Calculations. I am in need of assistance calculating accurate financial formulas to assess McDonald's for quarter 2 in 2022 and 2021 (See below attached balance sheet, income statement, and...
-
A plane wave (em) is bavelling along the Positive z-direction. The maximum electric field along the x-direction is lov/m. The approximate maxinuum values of power per unit area & magnetic induction...
-
Nike manufactures shoes and sportswear. How has the Internet changed the way this company communicates with its suppliers and retail customers?
-
Create a set of use cases for the following system: A Real Estate, Inc. (AREI), sells houses. People who want to sell their houses sign a contract with AREI and provide information on their house....
-
Assume that you are developing a new system for a multistate chain of video stores. Each store will run a fairly standardized set of video store processes (cataloging video inventory, customer...
-
Describe the principal steps in the analysis phase. What are the major deliverables?
-
The random vector \((X, Y)\) is defined as follows: \(X\) is uniformly distributed in the interval \([0,10]\). On condition \(X=x\), the random variable \(Y\) is uniformly distributed in the interval...
-
The temperatures \(X\) and \(Y\), measured daily at the same time at two different locations, have the joint density \[f_{X, Y}(x, y)=\frac{x y}{3} \exp \left[-\frac{1}{2}\left(x^{2}+\frac{y^{3}}{3}...
-
The random vector \((X, Y)\) has the joint probability density \[f_{X, Y}(x, y)=\frac{1}{2} e^{-x}, \quad 0 \leq x, 0 \leq y \leq 2\] (1) Determine the marginal densities and the mean values \(E(X)\)...
Study smarter with the SolutionInn App