This repository contains basic C programs that help beginners understand fundamental concepts of C programming.
- Hello, World! - A simple program that prints "Hello, World!" to the console.
- Basic Arithmetic Operations - A program that demonstrates addition, subtraction, multiplication, and division.
- User Input Example - A simple program that takes input from the user and displays it.
- If-Else Condition - Demonstrates conditional statements in C.
- Loop Examples - Showcases
for
,while
, anddo-while
loops in C.
- Clone this repository:
git clone https://github.com/Fatima-progmmer/simplest-in-c-
- Navigate to the project directory:
cd simplest-in-c-
- Compile any C file using GCC:
gcc filename.c -o output
- Run the executable:
./output
- A C compiler (GCC, Clang, or any other)
- Basic understanding of C syntax
Feel free to contribute by adding more simple programs or improving the existing ones.
Happy Coding! 🚀