Question: Write C programs to solve the following problems, test your program, and submit the source code via desire2learn. (1) Write a C program to
Write C programs to solve the following problems, test your program, and submit the source code via desire2learn. (1) Write a C program to process a collection of daily high temperatures input from standard I/O. Your program should count and print the number of hot days (high temperature 85 or higher), the number of pleasant days (high temperature 60-84), and the number of cold days (high temperature less than 60). It should also display the category of each temperature. (2) Modify your program to display the average temperature (a real number) at the end of the run.
Step by Step Solution
There are 3 Steps involved in it
The task described in the image requires two separate steps First lets write the C program to read daily high temperatures categorize them and count t... View full answer
Get step-by-step solutions from verified subject matter experts
