Explore BrainMass

Explore BrainMass

    C++ calculating temperature variation and wind average

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    You are developing a database of measured meteoroligical data for use in weather and climate research. Define a structure type measured_data_t with components: site_id( a 4 digit integer), wind_speed, day_of_month, and temperature. Write a program that inputs measured_data_t records and determines the site with the greatest variation in temperature(define here as the biggest difference between extrema) and the site with the highest average wind speed for all the days on file.

    © BrainMass Inc. brainmass.com December 24, 2021, 8:03 pm ad1c9bdddf
    https://brainmass.com/physics/temperature/c-calculating-temperature-variation-and-wind-average-242389

    Solution Preview

    Attached are two zips - one with C++ project and second with the executable. It is not specified in your task how the data is entered, so I have set it to enter data from a file called "inputdata.txt". It ...

    Solution Summary

    A C++ console program that will read input data from a text file and performs simple meteoroligical calculations - finding greatest temperature deviation and wind average. Makes use of structures and arrays. The result output is on the screen. Simple validation is provided checking for file existence and maximum record count.

    $2.49

    ADVERTISEMENT