Skip to content

Treasure-ux/c-weather-classifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

🌦️ Weather Classifier (C)

A command-line C program that accepts user input for temperature and categorizes it into weather conditions such as hot, cold, or normal using conditional statements.

Features

  • Takes temperature input from the user
  • Classifies weather into categories
  • Uses simple and clear conditional logic
  • Beginner-friendly project

Built With

  • C Programming Language

How It Works

  1. User enters a temperature value

  2. The program checks the value using conditions

  3. It displays whether the weather is:

    • Hot
    • Cold
    • Normal

How to Run

  1. Make sure you have a C compiler installed (e.g., GCC)
  2. Compile the program:
  3. Run the program:

What I Learned

  • How to use conditional statements (if/else)
  • How to take user input in C
  • Basic program structure in C

Author

Treasure Inioluwa Amao
Aspiring Software Engineer

About

A command-line C program that accepts user input for temperature and categorizes it into weather conditions (hot, cold, or normal) using conditional statements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages