5) Consider an 8 x 5 array called flu which contains the number of flu cases fro
ID: 3910128 • Letter: 5
Question
5) Consider an 8 x 5 array called flu which contains the number of flu cases from 2000 to 2004, in the eight most populous states in US broken down by year: 2000, 2001, 2002 2003, and 2004. Assume that the array is sorted by population so that the information for the most populous state appears first a) Draw and label a diagram the flu array. b) Define a variable for the overall number of flu cases for the 2nd most populous state. c) Define a variable containing the overall percentage of flu cases that occurred in 2001 d) Define a variable containing the total number of flu cases 6) Fill in the table using the list [5,-3, 8,-4, 1] Median Mean (Average) AAD MAD Std. DeviationExplanation / Answer
5
a)
int flu[8][5];
b)
int fluCases[5]; // for 5 years
c)
double fluCasesPercentage;
d)
int totalFluCases[8][5];
6.
Do ask if any doubt. Please upvote.
[State1][Year2000] [State1][Year2001] [State1][Year2002] [State1][Year2003] [State1][Year2004] [State 2][Year2000] [State 2][Year2001] [State 2][Year2002] [State 2][Year2003] [State 2][Year2004] [State 3][Year2000] [State 3][Year2001] [State 3][Year2002] [State 3][Year2003] [State 3][Year2004] [State 4][Year2000] [State 4][Year2001] [State 4][Year2002] [State 4][Year2003] [State 4][Year2004] [State 5][Year2000] [State 5][Year2001] [State 5][Year2002] [State 5][Year2003] [State 5][Year2004] [State 6][Year2000] [State 6][Year2001] [State 6][Year2002] [State 6][Year2003] [State 6][Year2004] [State 7][Year2000] [State 7][Year2001] [State 7][Year2002] [State 7][Year2003] [State 7][Year2004] [State 8][Year2000] [State 8][Year2001] [State 8][Year2002] [State 8][Year2003] [State 8][Year2004]Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.