This repository contains my early C programs as I learn the language.
Right now, I'm working with:
printfandscanf- Basic algebra operations
- Reversing 3-digit numbers
- Summing the digits of a number (limited to fixed length for now)
| File Name | Description |
|---|---|
Del.c |
Takes two numbers as input and prints their sum |
Del3.c |
Calculates gross salary from basic salary |
Del4.c |
Reverses a 3-digit number like 456 → 654 |
Del5.c |
Adds the digits of a 3-digit number like 456 → 15 |
These programs don’t use loops yet — all logic is done using simple math operations.
As I learn more (like loops and conditions), I’ll start adding more advanced programs here.
Learning Progress:
✅ Input/output
✅ Math with digits
🕒 Loops and conditions — coming soon!
- Clone the repo or download files
- Compile the
.cfiles using a C compiler likegcc - Run them from terminal or any C IDE
Shivam Chadha – GitHub