Write C Code Text File Tornadoestxt Provided Details Alabama Tornado Data Past 50 Years Fi Q37031451

Write a C++ code. A text file (tornadoes.txt) has been providedto you that details Alabama tornado data from the past 50 years.The first couple lines of the file are given below:

1969 Etowah-Calhoun F2 0 2

1969 Baldwin F1 0 0

1969 Mobile F1 0 0

Each line in the file contains five pieces, separated by spaces:(1) year, (2) county or counties affected, (3) damage level, (4)number of fatalities, and (5) number of injuries. You may assumethe file will not have more than 2000 rows of data.

When your program begins, it should read the data from the fileinto five (5) parallel arrays. It should

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.