Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

c++ PROGRAMMING PART B (ESSAY QUESTIONS) - 40 MARKS QUESTION 1 Write a complete program to record the number of daily COVID-19 cases and calculate

image text in transcribedc++ PROGRAMMING

PART B (ESSAY QUESTIONS) - 40 MARKS QUESTION 1 Write a complete program to record the number of daily COVID-19 cases and calculate the total cases in 5 days for two UTeM residential colleges; Lestari and Satria as shown in Figure 1.0. User is asked to enter an input for daily cases and record the data using ID (one dimension) arrays. Create a function to display the statistics of the total infected cases for both colleges; Lestari and Satria. (10 marks) Enter the daily infected cases for Lestari Day1 : 2 Day2 : @ Day3 : 1 Day4 : 1 Day5 : @ Enter the daily infected cases for Satria Day1 : 1 Day2 : 2 Day3 : 2 Day4 : 1 Day5 : @ Total infected cases in Lestari :4 Total infected cases in Satria :6 Press any key to continue . . Figure 1.0: Display the statistics of total infected Covid-19

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

Harness The Power Of Big Data The IBM Big Data Platform

Authors: Paul Zikopoulos, David Corrigan James Giles Thomas Deutsch Krishnan Parasuraman Dirk DeRoos Paul Zikopoulos

1st Edition

0071808183, 9780071808187

Students also viewed these Databases questions

Question

When it is good, what is different?

Answered: 1 week ago

Question

what is a peer Group? Importance?

Answered: 1 week ago