Question: Chapter 3 : Input / Output Problem 3 Temperature Write a C + + program that reads daily temperature data for a month and calculates
Chapter : InputOutput
Problem Temperature
Write a C program that reads daily temperature data for a month and calculates the average temperature for each day and the overall temperature of the month. The program should read the data for the entire month from a file named temperatures.txt given Assume the month has days. The input file contains one line for each day, where each line has temperature readings in degrees Celsius for that day, separated by spaces. Adjust decimal placed as per the below sample output.
temeratures.txt content:
table
Sample output:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
