Question: Write a program for NOAA that will store the following information in a 2 D array: Day Wind Speed ( mph ) Temp ( F

Write a program for NOAA that will store the following information in a 2D array:
Day Wind Speed (mph) Temp (F)
11265
22373
31582
4555
52595
61070
7789
81799
93584
1010100
Then have the program calculate the top wind speed and minimum temperature found within that data and display the following output:
Weather Data Summary
Day Wind Speed (mph) Temp (F)
11265
22373
31582
4555
52595
61070
7789
81799
93584
1010100
Top Wind Speed Found: 35 mph on Day 9
Coldest Temperature: 55 F on Day 4
Average Wind Speed: 15.9 mph
Save the class as NoaaWeatherData.java and ensure that it has the following methods defined:
void main()
void displayData()
int topWindSpeed()
int minTemperature()
float averageWindSpeed()
Feel free to add parameters to the methods listed above if you like. However, the return type of the methods must be the same as defined above.

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!