Welcome to my C Coding Website – previously a C program repository, now transformed into a fully responsive React.js website. It showcases categorized C programs across three levels of complexity. Designed for learners to practice, revise, and improve their C programming skills.
| 🏠 Home Page | ⚙️ Level Category Page |
|---|---|
![]() |
![]() |
| 🎯 Level Page | 💻 Code Page |
|---|---|
![]() |
![]() |
The project is live and can be viewed here: C-Coding
- 🏠 Home Page
- Welcome screen with intro and animations.
- 🧱 Levels Page
- Displays three level boxes – Beginner, Intermediate, and Advanced.
- Each box lists topics under that level.
- 📄 Level-Wise Code Pages
- Each level box navigates to its own detailed page.
- Every topic is displayed in a card/box with a "View Code" button.
- Clicking the button opens the respective program/code page.
🔁 Built with smooth AOS animations and navigation powered by React Router.
✅ Fully responsive UI (desktop + mobile)
✅ Organized C programs by logic complexity
✅ Modern look with AOS (Animate on Scroll) effects
✅ Navigation using React Router
✅ Lifecycle handling using useEffect
✅ Easy-to-use and clean interface for beginners
- Framework: React.js (CRA - Create React App)
- Routing: React Router DOM
- Styling: CSS3 + AOS animations
- Logic: React Hooks (
useEffect) - Icons by React icons
- Deployment: Vercel
Basic syntax and logic (e.g., addition, area, swapping).
Arrays, loops, conditionals, strings, and more.
Recursion, matrices, advanced patterns, and more.
Description: Simple programs to get started with C programming.
Difficulty: Easy
- (a+b)^2 – Simple (a+b)^2 calculation
- All arithmetic operations – Perform all basic operations
- Area of circle – Calculate area of a circle
- Area of rectangle – Calculate area of a rectangle
- Area of square – Calculate area of a square
- Average (float) – Average using float
- Cube of a number – Cube using simple logic
- Cube using pow() – Cube using pow function
- License eligibility – Check if eligible for a driving license
- Find your age – Calculate age based on birth year
- Average (int) – Average using integer
- Odd or Even – Check if a number is odd or even
- Pass or Fail – Determine pass/fail status
- Pass or Fail (ternary) – Using ternary operator
- Quotient and Remainder – Basic division results
- Rectangle perimeter – Calculate perimeter
- Remainder only – Show remainder
- Smallest number – Compare two numbers
- Sum calculation – Simple addition
- Swapping – Swap two numbers
- Multiplication table – Print table of a number
- Upper or Lower case – Check case of a character
Description: Programs with moderate logic and complexity.
Difficulty: Medium
- 2D Array – Print multiplication tables using 2D array
- Array (ascending order) – Sort an array in ascending order
- Matrix operations – Basic matrix implementation
- Combine strings – Concatenate two strings
- Days switch-case – Day output using switch case
- Details input – General input program
- Digits sum – Sum of digits of a number
- Discount check 1 – First version of discount logic
- Discount check 2 – Second version of discount logic
- Factorial (loop) – Factorial using loops
- Factorial (recursion) – Factorial using recursion
- Factors of a number – Print all factors
- GCD – Greatest Common Divisor
- Grades – Grade categorization logic
- Insert into array – Insert element in array
- Is digit or not – Check if input is a digit
- Language output – Output based on input language
- Largest in array – Find largest element
- Multiple results – Perform multiple calculations
- Sum of natural numbers – Using loop
- Sum (recursion) – Natural sum using recursion
- Odd input stopper – Input until odd number entered
- Palindrome check – Check if a number is palindrome
- Patterns – Print square pattern
- Petrol price calculator – Price calculation
- Pointer syntax – Example of pointer usage
- Power function – Calculate x^n
- Prime in range – Print prime numbers in range
- Prime check – Check if number is prime
- Remove spaces – Remove spaces from string
- Reverse array – Reverse elements of array
- Simple Interest – Calculate simple interest
- Specific operator – Use switch for specific operations
- Square root – Calculate square root
- Sum of matrices – Add two matrices
- Temperature conversion – Celsius to Fahrenheit
- Total price – Price calculation of items
- Transpose of matrix – Matrix transpose
- Uppercase conversion – Convert to uppercase
- Various input (struct) – Input using structure
- Vowel count – Count vowels in string
Description: Challenging programs with advanced logic and longer code.
Difficulty: High
- Armstrong number – Check if a number is Armstrong
- Calculator v1 – Calculator using functions
- Determinant – Find determinant of matrix
- Fibonacci (recursion) – Fibonacci using recursion
- Fibonacci (function) – Fibonacci using function call
- Highest char frequency – Find most frequent character
- Inverse of matrix – Inverse of a matrix
- Matrix multiplication (logic) – Using loops
- Matrix multiplication (arrays) – Using arrays
- Number system converter – Decimal to other base conversions
- Quiz v1 – Quiz logic version 1
- Quiz v2 – Quiz logic version 2
- Quiz v3 – Quiz logic version 3
- Specific area calculator – Area based on shape
- Specific operations (switch) – Menu-based operations
- Upper to lowercase (function) – Convert using function
- Total programs: 79
- Level 1: 22 | Level 2: 41 | Level 3: 16
- All of these were created by me during my journey of learning the C language. 😊
# 1. Clone the repo
git clone https://github.com/TonyStark-19/C-Coding.git
# 2. Move into the project folder
cd C-Coding
# 3. Install dependencies
npm install
# 4. Start the development server
npm startPull requests are welcome!
If you're currently learning C programming and have written some C programs that are not already included in this repository, feel free to contribute:
- Create an Issue – Briefly describe the program(s) you want to add. Mention the problem statement or logic.
- Once the issue is reviewed and approved, you can add your program to the appropriate level on the website via a pull request.
- Make sure your code is clean, commented, and placed in the correct category (Beginner / Intermediate / Advanced).
This project is open to learners, so don't hesitate to participate and showcase your contributions!
Please read the CONTRIBUTING.md before you start.
This project is licensed under the MIT License. Feel free to use, modify, and share it – just give proper credit. Check the LICENSE file for more details.
- Thanks to the entire coding community. This website is made for C programming learners and enthusiasts.
Made with ❤️ by Aditya chandel



