Question: Create a class that represents a hurricane, with data fields for the name (e.g., Nicole), the category (e.g., 3), the top wind speed in

Create a class that represents a hurricane, with data fields for the

 

Create a class that represents a hurricane, with data fields for the name (e.g., Nicole), the category (e.g., 3), the top wind speed in miles per hour, and the year. Write a method that takes an array of hurricanes and returns the average wind speed of the hurricanes in the array. Test it with an array of at least four past hurricanes (look up their names and top wind speeds).

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!