Question: Write a script called cyclone.m with the following code: % year and corresponding tropical cyclone count data period-1977:2011; cyclone_count= [9,11,14,13,13,7,19,17,15 , 7, 5, 13, 13,18,

 Write a script called cyclone.m with the following code: % year

Write a script called cyclone.m with the following code: % year and corresponding tropical cyclone count data period-1977:2011; cyclone_count= [9,11,14,13,13,7,19,17,15 , 7, 5, 13, 13,18, 18, 8, 11, 6 , 14, 15, 9, 13, 14, 8, 10,9,18,10,I2 ,5,10,10,8,11,7; period contains the years 1977 to 2011. cyclone_count contains the number of cyclones that occurred each year, starting in the year 1977. Modify the above code that asks the user to enter a year between 1977 and 2011. Your script should output the corresponding cyclone count. The format is shown in the following example: >> cyclone input a year between 1977 and 2011: 1999 number of cyclones in year 1999 is 14 Your script should display an appropriate message if the input is not valid

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!