Question: in c, answer the following Problem 1: Implementing sentinel controlled loop We want to write a program that calculates the average temperature for several days.
in c, answer the following

Problem 1: Implementing sentinel controlled loop We want to write a program that calculates the average temperature for several days. We assume that initially we don't have data for all days. The table below shows the days and the corresponding temperatures. The data available to you depends on the first letter of your first name as follows 1. Write code to implement a sentinel controlled loop to calculate the average temperature for the number of days corresponding to the first letter of your first name. (a) The program prompts the user to enter the temperature for day i. (b) The program calculates the average and displays it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
