Question: Please use very basic and simple C language. The Fujito Tornado Scale categorizes tornadoes according to their peak windspeed. The categories are as follows; Category
Please use very basic and simple C language.
The Fujito Tornado Scale categorizes tornadoes according to their peak windspeed. The categories are as follows;
Category Wind Speed (mph)
-------------------------------------------------
F0 72 or less
F1 73 to 112
F2 113 to 157
F3 158 to 206
F4 207 to 260
F5 261 to 318
F6 319 or more
Write a program which repeatedly reads a windspeed from the file windin.txt, calls the function cat() to determine the corresponding tornado category and writes the winspeed and corresponding category to a file.
Your output file should look like:
Windspeed Category
-------------------------------------------
165 F3
246 F4
325 F6
THE FILE wind.txt has the following info:
265 146 52 233 187 98 310
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
