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 lowest temperature of the year with name of the month. Name the program HW1.java.

Zip the HW1.java file and Upload the zip file under the dropbox into the folder called HW1

  • Follow coding standards carefully
  • Include comment block with Name, date, HW#, Description
  • User inputs the highest 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:

Lowestest temperature is 62. It was in the month of December

OUTPUT SHOULD BE LOWEST TEMPERTURE

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!