Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started