Question: C program plz, not C++ nor Sth, Ty. Create a program to store temperatures recorded over a period of time. The program should store the
Create a program to store temperatures recorded over a period of time. The program should store the temperatures in a global array variable. Assume that the maximum number of temperatures that may be stored is 500. Add the following function to your program: A function that finds the average of all temperatures stored A function that finds the average of the last 5 recorded temperatures. If there are less than 5 temperatures recorded, return the average of all recorded temperatures. A function that records a new temperature. It must check if there is still space in the array. A function that prints the number of temperatures recorded A function that prints all the temperatures recorded Organize the program so the function prototypes are presented first, and the definitions after the main function. Your program should keep asking the user to select an option from the following
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
