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 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
Get step-by-step solutions from verified subject matter experts
