This repository contains my practice work in C programming language. I created this repository to build a strong foundation in programming before moving to advanced topics like data structures, algorithms, and cryptography.
All programs are written by me as part of my learning journey.
This repository includes the following C programming concepts:
- Data types (
int,float,double,bool,char[]) - User input and output
- Arithmetic operators
- Logical operators
- Conditional statements (
if,else, nested if) - Loops (
for,while, nested loops) - Functions and return statements
- Switch statements
- Format specifiers
- Break and continue statements
- Simple mathematical programs
- Small real-world programs
Each folder focuses on one topic, for example:
For-loopWhile-loopsIf-statementsFunctionsShopping-cart-programCompound-interest-calculatorMad-libs-game
Each folder contains C source files (.c) related to that topic.
- To learn C programming from beginner to intermediate level
- To understand programming logic and problem-solving
- To prepare for cryptography and cybersecurity studies
- To build a strong base for mathematical programming
- Install a C compiler (GCC recommended)
- Open terminal in the program folder
- Compile the program:
gcc filename.c -o output