Question: computer programming c++ QUESTION 1 Write a complete program to record the number of daily COVID-19 cases and calculate the total cases in 5 days

computer programming c++

 computer programming c++ QUESTION 1 Write a complete program to record

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 1D (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 : 0 Day3 : 1 Day4 : 1 Day5 : 0 Enter the daily infected cases for Satria Day1 : 1 Day2 : 2 Pay3 : 2 Day4 : 1 pays : 0 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!