Question: USING C++ USE SUM OF 2D ARRAY IN FOR LOOP. The following figure show the cumulative COVID-19 cases per state in Malaysia as of 15
USING C++
USE SUM OF 2D ARRAY IN FOR LOOP.

The following figure show the cumulative COVID-19 cases per state in Malaysia as of 15 November 2020 Covid-19 cases in Malaysia Last updated at 5pm. November 15, 2026 Source: Ministry of Health Malaysia azlan zamhari malaysiakini Perlis 41 Penang 1,628 Death Death 6 Kedah 2263 Death Kelantan 211 Death 3 Sabah 23,095 Terengganu 225 Labuan 1,177 Death 173 Death 3 Death Sarawak 1,040 Death Perak 769 Death Selangor 7,624 Death 27 Pahang 395 Death Kuala Lumpur 3,976 N. Sembilan 3,421 Malacca 367 Death I Total number 47,417 Putrajaya 191 Johor 994 of cases Death 0 Death 20 Deaths 309 Recovered 34,785 Death Death 6 Note: Figures are cumulative Figure 2 Develop a complete C++ programs using functions and array to store all new cases information for each state, including the death number. Use for loop to loop the array to store the information up to 7 days. Finally, display the total number of cases and total number of deaths after the 7 days. You must use actual figure that being reported daily by KKM. However, you might select your own date. Show all the function declarations, function definitions and function call in your program
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
