Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The goal is to report weekly on a 10 weeks vaccination drive. The program will ask for the following input from the user: 1.

The goal is to report weekly on a 10 weeks vaccination drive. The program will ask for the following input

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

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

Step: 1

def vaccinationdrive Get input from the user population floatinputEnter the Population of the ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Systems Analysis And Design

Authors: Alan Dennis, Barbara Wixom, Roberta M. Roth

7th Edition

1119496489, 978-1119496489

More Books

Students also viewed these Accounting questions

Question

=+2. Why do service firms emphasize marketing?

Answered: 1 week ago