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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started