Question
I CANNOT USE BUILT IN FUNCTIONS. Create a C# application that prompts the user for storm windspeed in mph, then determines the correct typhoon category.
I CANNOT USE BUILT IN FUNCTIONS.
Create a C# application that prompts the user for storm windspeed in mph, then determines the correct typhoon category. The program must run all test cases of storm windspeed in one execution. Use a sentinel value to terminate the program. Do not assume a specific number of inputs. Determine the maximum storm windspeed value input. Note that the maximum must be evaluated within your program.
DO NOT USE BUILT-IN FUNCTIONS.
Output screenshot must include values shown below, their calculated typhoon level, and the maximum storm windspeed entered. Windspeed must be greater than zero. If zero or less, reprompt for the windspeed again.
Windspeed(MPH) | Typhoon Category |
<74 | Tropical-storm-not a typhoon |
74 to 95 | 1 |
96 to 110 | 2 |
111 to 130 | 3 |
131 to 155 | 4 |
156 or more | 5 |
Run your application with the following data and save the screenshots of inputs and outputs to submit.
Storm #: | MPH: |
1 | 70 |
2 | 110 |
3 | -175 replace with 175 |
4 | 131 |
5 | 74 |
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