Question: My code isn't working for this problem. Could an expert deveolp the code so I can see what I'm doing wrong? The program we are
My code isn't working for this problem. Could an expert deveolp the code so I can see what I'm doing wrong? The program we are using is C Programming.
Chapter 3, Problem 9PP Bookmark Show all steps Problem An epidemic of a new strain of flu (i.e., one for which a vaccine is not available) begins with a single case on a college campus of 40,000 faculty, staff, and students. Three days later a second case is reported, and in the following days the reported cases are as shown in the table below. The day of the initial case report is noted as day 0. Day # 0 3 5 6 7 8 9 10 11 Total cases 1 2 3 4579 11 15 A math professor observes that the number of cases seems to be increasing by about 28% per day and proposes the following model to predict the total number of cases by day number x: Casesx) +399e) Write a function that implements this model. Test your function with a main function that prompts the user three times to enter a day number and then calculates and displays the number of cases predicted for each day number entered Sample run: FLU EPIDEMIC PREDICTIONS BASED ON ELAPSED DAYS SINCE FIRST CASE REPORTEnt Step-by-step solutlon
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
