Question: this is to be done in C++ Write a program that creates a file of data in the form of the temperature Reading type defined
this is to be done in C++
Write a program that creates a file of data in the form of the temperature Reading type defined in the iostreams lecture. Fill the file with at least 50 temperature readings. Call this program store_temps.cpp and the file it creates raw_temps.txt.
Write a second program that reads the data from raw_temps.txt created in step 1 above into a vector and then calculates the mean and median temperatures in your data set. Call this program temp_stats.cpp.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
