Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Whether a storm is a tropical depression, tropical storm, or hurricane is determined by the average sustained wind speed. 1. In miles per hour, a

Whether a storm is a tropical depression, tropical storm, or hurricane is determined by the average sustained wind speed. 1. In miles per hour, a storm is a tropical depression if the winds are less than 38 mph. 2. It is a tropical storm if the winds are between 39 and 73 mph. 3. It is a hurricane if the wind speeds are at least 74 mph Write a script to determine the storm catagory given the wind speed. Write a script to assign a string to the variable named TheStormCategory Depending on the value of WindSpeed the string will be one of the following: 1. Tropical depression 2. Tropical storm 3. Hurricane You must use one if-elseif-else-end statement! Note WindSpeed is a random integer between 38 and 100 mph Document your code and include your first and last name as a co

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Computer Performance Engineering 10th European Workshop Epew 2013 Venice Italy September 17 2013 Proceedings

Authors: Maria Simonetta Balsamo ,William Knottenbelt ,Andrea Marin

2013 Edition

3642407242, 978-3642407246

More Books

Students also viewed these Programming questions