Question: Program 2 Write an interactive C++ program that reads in a series of 30 different temperatures from a user for the month of December. The
Program 2 Write an interactive C++ program that reads in a series of 30 different temperatures from a user for the month of December. The program should print to the file tempdata.txt each temperature as well as the difference between the current temperature and the one preceding it. The difference is not output for the first temperature that is read in. At the end of the program, the average temperature should be displayed for the user via cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
