Question
Write C++ programs that produce solutions for the following problems. Suppose category is a variable of type int. Write a multi branch if /else statement
Write C++ programs that produce solutions for the following problems.
Suppose category is a variable of type int. Write a multi branch if /else statement to display wind speed of each hurricane category. For a category 1 hurricane display that the wind speed is 74-95 mph, for category 2 the wind speed is 96-110 mph, for category 3 the wind speed is 111-130 mph, for category 4 the wind speed is 131-155 mph, for category 5 the wind speed exceeds 155 mph. Sample run of program: Enter a category of hurricane (1 through 5):> 3The windspeed is 111-130 mph.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started