Purchase Solution

C++ calculating temperature variation and wind average

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

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.

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 ...

Purchase this Solution


Free BrainMass Quizzes
Introduction to Nanotechnology/Nanomaterials

This quiz is for any area of science. Test yourself to see what knowledge of nanotechnology you have. This content will also make you familiar with basic concepts of nanotechnology.

Basic Physics

This quiz will test your knowledge about basic Physics.

The Moon

Test your knowledge of moon phases and movement.

Classical Mechanics

This quiz is designed to test and improve your knowledge on Classical Mechanics.

Intro to the Physics Waves

Some short-answer questions involving the basic vocabulary of string, sound, and water waves.