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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!