Question: Preliminary program to test the new data file. 3. (15 Points) Using the weather_station_five_column.txt file produced by problem two above: Determine the highest and lowest
Preliminary program to test the new data file. 3. (15 Points) Using the weather_station_five_column.txt file produced by problem two above: Determine the highest and lowest temperatures in the state for the entire month of March 2018. Print out (to the screen) the station names with highest and lowest temperatures along with the high and low values. (Multiple stations may record the same values for high and low.) INTERACTIVE DATA PROCESSING
NOTE: There are two techniques that you can apply for this problem: Read the data file multiple times using seekg to reset the file each pass. * Copy the data into one-dimensional arrays. Then pass the arrays to functions for selections a-e below.
Here's a snipet of the file, Just need help finding the highest temp in the tmax column and the lowest temp in the tmin column.
- weather station_five_column - Notepad File Edit View station Name BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US BANKHEAD LOCK AND DAM AL US Date 20180301 20180302 20180303 20180304 20180305 20180306 20180307 20180308 20180309 Prcp 0.15 0.45 0.00 0.00 0.00 1.36 0.41 0.00 0.00 tmax 46.76 46.94 46.94 46.76 43.70 43.88 41.72 41.18 41.36 tmin 41.54 39.92 37.94 37.94 38.48 38.66 38.12 37.22 37.22Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
