Create an application in C# that prompts the user for a storm windspeed in mph,
ID: 3769250 • Letter: C
Question
Create an application in C# that prompts the user for a storm windspeed in mph, then determines correct hurricane level. The program must run all test cases of storm windspeed in one execution. Use a sentinel value to terminate the program. Output screenshot must include the input values & their calculated hurricane level. Rules: Windspeed must be greater than zero. If zero or less, reprompt for that windspeed again. Windspeed ( mph) Hurricane category < 74 Tropical storm – not a hurricane, 74 to 95 Category 1, 96 to 110 Category 2, 111 to 130 Category 3, 131 to 155 Category 4, 156 or more Category 5. Run your application with the following data and save the screenshot of inputs and outputs to submit.
Storm# : MPH:
1 70 not a hurricane
2 110 Category 2
3 96 Category 2
4 131 Category 4
5 73 not a hurricane
Explanation / Answer
Define variable x = hurricane value ,get the Value for variable x apply the if else condition such that if
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.