Question: HW1 Write a program that uses one dimensional array to store the highest temperatures for each month of the year. The program should output the
HW1
Write a program that uses one dimensional array to store the highest temperatures for each month of the year. The program should output the highest temperature of the year with name of the month. Name the program HW1.java. Upload the completed program under the dropbox into the folder called HW1
- Follow coding standards carefully
- Include comment block with Name, date, HW#, Description
- User inputs the high temperatures for each month.
Sample program Run:
Enter high temp for Month 1: 80
Enter high temp for Month 2: 85
.
Enter high temp for Month 7: 102
.
.
.
Enter high temp for Month 12: 62
Output:
|
Highest temperature is 102. It was in the month of July
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
