Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use C++ programming language QUESTION 2 (50 Marks) The following figure show the cumulative COVID-19 cases per state in Malaysia as of 15 November 2020

Use C++ programming language

image text in transcribed

QUESTION 2 (50 Marks) 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, 2020 Source: Ministry of Health Malaysia azlon zamhari malaysiakini Perlis 41 Penang 1,628 Death Death 6 Sabah 23,095 Kedah 2263 Death Death 173 Kelantan 211 Death 3 Labuan 1,177 Terengganu 225 Death Death 3 Sarawak 1,040 Death Pahang 395 Death Perak 769 Death Selangor 7,624 Death Kuala Death Putrajaya 191 Death Lumpur 3,976 Johor 994 Death Total number 47,417 of cases Deaths 309 Recovered 34,785 N. Sembilan 3,421 Malacca 367 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. [50 Marks)

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

Database Processing Fundamentals Design

Authors: Marion Donnie Dutton Don F. Seaman

14th Edition Globel Edition

1292107634, 978-1292107639

More Books

Students also viewed these Databases questions