Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In python Exercise 3: Outbreak! Flu season is upon us and the number of people getting sick is growing. - On day 1 , there

In python
image text in transcribed
Exercise 3: Outbreak! Flu season is upon us and the number of people getting sick is growing. - On day 1 , there was only 1 person with the flu. - On day 2 , it jumped to 4. - On day 3 , there were 64 - Every day since, the number of people who have the flu is equal to the last 3 days combined You will make a program that will ask the user for what day they want a count of people with the flu for. Then display the amount. Sample runs: OUTBREAK! What day do you want a sick count for?: 1 Total people with flu: 1 OUTBREAK! What day do you want a sick count for?: 2 Total people with flu: 4 OUTBREAK! What day do you want a sick count for?: 3 Total people with flu: 64 OUTBREAK! What day do you want a sick count for?: 4 Total people with flu: 69 OUTBREAK! What day do you want a sick count for?: 5 Total people with flu: 137 OUTBREAK! What day do you want a sick count for?: Invalid day

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions