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.
-
Many types of transactions may affect stockholders' equity. Identify the effects of the following transactions on total stockholders' equity. Each transaction is independent. a. A 10% stock dividend....
-
Sodium-ammonia reduction of stearolic acid (see Problem 9.10) yields a compound known as elaidic acid. What is the structure of elaidic acid?
-
How to locate assets of the debtor?
-
1. As DIY Stores built its online presence, how well did it organize around its core capabilities? 2. DIY Stores is a large national chain. What impact did its size have on its agility? 3. How could...
-
The comparative financial statements prepared at December 31, Year 2, for Goldfish Company showed the following summarized data: Statement of Earnings Sales revenue Cost of sales Gross profit...
-
Question (700 words) John Densmore, a law student and part-time musician, was seriously injured in a car accident. The other car's driver, Ray Manzarek, a renowned life motivation coach and a...
-
how to code in c# to get the total number of 1\'s as the numbers are added in a List box in windows forms
-
Meet Sarah the Vice President of Marketing at JJs widgets Sarah is responsible for completing the strategic planning process for the company She spends countless hours analyzing market trends...
-
Actual supplies on hand as of December 3 1 st are $ 3 5 0 . Balance in the supplies account is $ 1 , 0 0 0 . What is the adjusting journal entry to update the supplies balance?
-
Research Bloomberg Market Sectors site to select a company of your own choice. Compare their performance to the industry's performance than select two internal payroll controls and ilustrate how did...
-
During 2023 Andrew Golden, a 40-year-old single taxpayer, lived in Wyoming and contributed $25,000 each to the support of the following individuals: Bryan his 80-year-old father who purchased a new...
-
why are there so many single-issue voters? What type of single-issue voters are the most valuable to a politician.
-
The 76ers are considering two sponsorship contracts. The discount rate is 5% Contract 1: $1,500,000 per year for 3 years Contract 2: $4,000,000 up front What is the real value of Contract 1? What is...
-
Write the binomial probability in words. Then, use a continuity correction to convert the binomial probability to a normal distribution probability. P(x 110)
-
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?
-
Suggest a general outline marketing planning strategy for 12 months ahead for Graham Keddie.
-
What part should the sales function play when drawing up a detailed 12 months operational marketing plan for EMA?
-
Explain the differences between marketing strategies and sales strategies.
Study smarter with the SolutionInn App