03 May Write a C++ console application that allows your user to enter the maximum and minimum temperatures for each of 12 months into arrays of doubles.
Use your first and last initials to name the two files you need to submit.
For example, when William J. Groen submits his work, the name of the file containing source code will be named
"WGLab5.zip" and the name of the file containing screen shot for the execution of the program should be
WGLab5.docx.
Lab 5
Write a C++ console application that allows your user to enter the maximum and minimum temperatures for each of 12 months into arrays of doubles. After all entries have been made, the program should calculate and display the maximum temperature and minimum temperature for the year and the months in which these occurred.
Here is a sample output.
Enter the minimum and maximum temperature for each of the 12 months in degree F:
Highest Temperature for January :56
Lowest Temperature for January: -4
Highest Temperature for February :67
Lowest Temperature for February: -8
Highest Temperature for March :80
Lowest Temperature for March: 60
Highest Temperature for April :90
Lowest Temperature for April: 80
Highest Temperature for May :109
Lowest Temperature for May: 78
Highest Temperature for June :110
Lowest Temperature for June: 80
Highest Temperature for July :115
Lowest Temperature for July: 81
Highest Temperature for August :102
Lowest Temperature for August: 55
Highest Temperature for Sepetember :100
Lowest Temperature for September: 70
Highest Temperature for October :60
Lowest Temperature for October: 50
Highest Temperature for November :55
Lowest Temperature for November: 45
Highest Temperature for December :36
Lowest Temperature for December: 12
Month with highest temperature: July with 115 degrees
Month with lowest temperature: February with -8 degrees