Skip to content

C++ Program using ADT, enumerator, and structure array.

License

Notifications You must be signed in to change notification settings

rudyorahin/WeatherStatistics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherStatistics

Description

The WeatherStatistics project is a C++ application that collects and analyzes weather statistics. It takes into account total rainfall, high and low temperatures for each month, and calculates averages and extremes over the year.

Features

  • Uses structures to hold weather data for each month.
  • Input validation for temperature ranges.
  • Calculates:
    • Average monthly rainfall.
    • Total annual rainfall.
    • Highest and lowest temperatures of the year.
    • Average temperature of the year.

C++ Build GitHub stars GitHub license

Setup and Compilation

  1. Clone the repository: $ git clone [repository link]

  2. Navigate to the project directory:

    cd WeatherStatistics
  3. Compile the code using CMake:

    mkdir build
    cd build
    cmake ..
    make

Usage

Run the executable generated by the make process:

./WeatherStatistics

Follow the prompts to enter the weather data for each month.

License

Copyright © 2023 Rudy Orahin. Licensed under the MIT License. See LICENSE for more information.


Feel free to modify the README to better suit your project. Don't forget to add a LICENSE file in your GitHub repository and paste the MIT License text into it, crediting you as the copyright holder.

About

C++ Program using ADT, enumerator, and structure array.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published