Hey guys i'm new to programming and have been asked to complete this assignment but I have become confused as to how to finish it. I have the structure basically created and how to call for the file that contains all the data, but I'm confused and don't know what to do in order to determine the site with greatest variation in temperature and highest average wind speed. Can someone please help me.
Here is the project.
You are developing a database of measured meteorological data for use in weather and climate research. Define a structure type measured_data_t (which I have done) with components site_id_num (a four digit integer), wind_speed, day_of_month, and temperature. Each site measures its data daily, at noon local time. Write a program that inputs a file of measured_data_t records and determines the site with the greatest variation in temperature (defined here as teh biggest difference between extrema) and the site with the highest average wind speed for all the days in the file. You may assume that there will be at most ten sites. Test the program on the following July daily data collected over one week at three sites: