Question: QUESTION 5 As a precaution for COVID-19 spread, a grocery shop owner wants to keep track of temperature of their customers who came to the
QUESTION 5 As a precaution for COVID-19 spread, a grocery shop owner wants to keep track of temperature of their customers who came to the shop. He only limits 50 customers every day to enter the shop. The temperature of all customers are stored in the following array float temperature (50); Write a C++ program segment to do the following tasks: a. Read temperature of each 50 customers. (3 marks) b. Determine and display the average and the highest temperature in the array (7 marks)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
