Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Assignment: Report Wind Speed Based on the Saffir-Simpson Hurricane Scale Objective: Using Pycharm Complier, write a Python program that takes the wind speed as

image text in transcribed
Programming Assignment: Report Wind Speed Based on the Saffir-Simpson Hurricane Scale Objective: Using Pycharm Complier, write a Python program that takes the wind speed as input from the user and reports the corresponding hurricane category based on the Saffir-Simpson Hurricane Scale. Problem Statement: The Saffir-Simpson Hurricane Scale is a 1-5 categorization based on the sustained wind speeds of a hurricane. It estimates potential property damage and flooding. Your task is to write a Python program that reads the wind speed from the user and then prints the hurricane category or a message if it's below hurricane level. Saffir-Simpson Hurricane Scale: Category Wind Speed (mph) Description 74-95 Very dangerous winds will produce some damage 96 - 110 Extremely dangerous winds will cause extensive damage N m 111-129 Devastating damage will occur 130 -156 Catastrophic damage will occur 157 or higher Catastrophic damage; high devastation . Tropical Storm: 39 - 73 mph . Below 39 mph: Not a tropical storm or hurricane Requirements: . The program should accept an integer input for the wind speed. It should classify the wind speed based on the Saffir-Simpson Hurricane Scale. . If the wind speed is below hurricane level (less than 74 mph), the program should indicate that it's not a hurricane and mention if it is a tropical storm. . If the input is invalid (e.g., a string or negative number), the program should display an appropriate error message

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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions

Question

Give a definition of consolidated retained earnings.

Answered: 1 week ago