Skip to content

PythonPhreak/weather-analysis-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Weather Analysis in C

Exercise Solution from Past Procedural Programming Exam

This program analyzes monthly weather data (temperature, humidity, rainfall) and prints seasonal statistics.
It is intended for educational purposes and sharing with classmates for reference.

Features

  • Stores weather data for each month using a struct.
  • Finds the month with maximum temperature, humidity, and rainfall.
  • Prints data for a given season (Winter, Spring, Summer, Fall).
  • Demonstrates the use of arrays, pointers, structs, and string comparisons in C.

How to Run

  1. Copy the code from weather.c.
  2. Compile with GCC:
gcc weather.c -o weather


Run the program: 
./weather

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages