Question: if you can help fix my code A file called Temperatures.txt maintains a list of temperatures throughout ten days. Sample file entries are as follows



if you can help fix my code
A file called "Temperatures.txt" maintains a list of temperatures throughout ten days. Sample file entries are as follows 6438454355783388100112 Develop a C program that asks the user to enter a temperature range. Then displays the number of days the temperature was within the specified range, as well as the average temperature in range. Sample Input 1 5075 Sample Output 1 2 days had a temperature between 50 and 75 The mean temperature between 50 and 75 is 59.5 Sample Input 2 20120 Sample Output 2 10 days had a temperature between 20 and 120 The mean temperature between 20 and 120 is 65.6 Sample Input 2 1030 main.c: In function 'Temps': main.c: 16:23 : error: invalid operands to binary / (have 'float' and 'float *') 16 mean=(totaltemp / tally)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
