A structured repository containing a diverse collection of C programs, ranging from fundamental logic building to advanced mathematical algorithms and complex pattern printing. This project is ideal for mastering nested loops, recursion, and data manipulation in C.
- Logic Masterclass: 20+ unique pattern printing scripts including Floyd's Triangle and Rhombus structures.
- Algorithmic Foundations: Implementations of essential sorting algorithms like Bubble Sort and Insertion Sort.
- Problem Solving: Solutions for classic computational problems like the Tower of Hanoi and Matrix operations.
- Real-world Logic: Mini-apps including a Library Management System and Student Mark Management.
Focused on mastering nested loops and coordinate logic.
- Pyramids: Full, Left-half, and Reversed pyramids using stars, numbers, and alphabets.
- Triangles: Right-angled variations including lower/uppercase alphabet transitions.
- Advanced Shapes: Rhombus patterns and custom triangle forms.
Focused on algorithmic efficiency and functional programming.
- Mathematical: GCD, Prime checking, Palindromes, and Armstrong numbers.
- Arrays & Matrices: Matrix Multiplication and Transpose logic.
- Recursion: Factorials and Tower of Hanoi.
You need a C compiler (GCC) installed. To check if you have it:
gcc --version- Clone the repo:
git clone https://github.com/codewithsayanjit/C-Programming-Practice-Set.git
- Compile a specific file (e.g., Bubble Sort):
gcc Assignment/Bubble_Sort.c -o BubbleSort
- Run:
./BubbleSort
- Basic syntax & Operators
- Pattern Printing (Nested Loops)
- Array & Matrix Operations
- Sorting Algorithms (Bubble, Insertion)
- File Handling & Pointers
- Data Structures (Linked Lists, Stacks)
Contributions are what make the open-source community an amazing place to learn.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/NewLogic) - Commit your Changes (
git commit -m 'Add some NewLogic') - Push to the Branch (
git push origin feature/NewLogic) - Open a Pull Request
Developed by Sayanjit Jana 🚀