C Coding is a fully responsive React.js-based learning platform designed to help beginners and intermediate learners practice, revise, and master C programming.
Originally started as a simple C programs repository, this project has now evolved into a structured web platform that categorizes 79 C programs into three difficulty levels with clean UI, animations, and smooth navigation.
| π Home Page | βοΈ Level Category Page |
|---|---|
![]() |
![]() |
| π’ Easy Level Page | π‘ Medium Level Page |
|---|---|
![]() |
![]() |
| π΄ Hard 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 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.
-
π» Program Page
- Displays the selected program with proper formatting.
- Code is rendered using Prism React Syntax Highlighter for clean syntax highlighting.
- Includes a "Copy Code" button for quick copying.
- Provides a "View Raw on GitHub" button to access the original source file.
β
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
- Animations: AOS (Animate On Scroll)
- Logic: React Hooks (
useEffect) - Icons by React icons
- Deployment: Vercel
Basic syntax and fundamental logic Examples: arithmetic operations, conditionals, swapping, tables
Moderate logic involving arrays, strings, loops, recursion, and structures
Advanced concepts such as matrices, recursion-heavy problems, quizzes, and number systems
π All programs were written during my personal C learning journey.
Description: Simple programs to get started with C programming.
Difficulty: Easy
| No. | Project | Description |
|---|---|---|
| 1 | (a+b)^2 | Simple (a+b)^2 calculation |
| 2 | All arithmetic operations | Perform all basic arithmetic operations |
| 3 | Area of circle | Calculate area of a circle |
| 4 | Area of rectangle | Calculate area of a rectangle |
| 5 | Area of square | Calculate area of a square |
| 6 | Average (float) | Find average using float values |
| 7 | Cube of a number | Calculate cube using simple logic |
| 8 | Cube using pow() | Calculate cube using pow() function |
| 9 | License eligibility | Check eligibility for a driving license |
| 10 | Find your age | Calculate age from birth year |
| 11 | Average (int) | Find average using integers |
| 12 | Odd or Even | Check whether a number is odd or even |
| 13 | Pass or Fail | Determine pass or fail status |
| 14 | Pass or Fail (ternary) | Pass/fail using ternary operator |
| 15 | Quotient and Remainder | Display quotient and remainder |
| 16 | Rectangle perimeter | Calculate perimeter of a rectangle |
| 17 | Remainder only | Display only the remainder |
| 18 | Smallest number | Find the smallest of two numbers |
| 19 | Sum calculation | Simple addition of numbers |
| 20 | Swapping | Swap two numbers |
| 21 | Multiplication table | Print multiplication table of a number |
| 22 | Upper or Lower case | Check if a character is uppercase/lowercase |
Description: Programs with moderate logic and complexity.
Difficulty: Medium
| No. | Project | Description |
|---|---|---|
| 1 | 2D Array | Print multiplication tables using 2D array |
| 2 | Array (ascending order) | Sort an array in ascending order |
| 3 | Matrix operations | Basic matrix implementation |
| 4 | Combine strings | Concatenate two strings |
| 5 | Days switch-case | Display day using switch case |
| 6 | Details input | General input handling program |
| 7 | Digits sum | Sum of digits of a number |
| 8 | Discount check 1 | First version of discount logic |
| 9 | Discount check 2 | Second version of discount logic |
| 10 | Factorial (loop) | Factorial calculation using loops |
| 11 | Factorial (recursion) | Factorial calculation using recursion |
| 12 | Factors of a number | Print all factors of a number |
| 13 | GCD | Find Greatest Common Divisor |
| 14 | Grades | Grade categorization logic |
| 15 | Insert into array | Insert an element into an array |
| 16 | Is digit or not | Check whether input is a digit |
| 17 | Language output | Output based on selected language |
| 18 | Largest in array | Find largest element in an array |
| 19 | Multiple results | Perform multiple calculations |
| 20 | Sum of natural numbers | Sum natural numbers using loop |
| 21 | Sum (recursion) | Natural number sum using recursion |
| 22 | Odd input stopper | Take input until an odd number is entered |
| 23 | Palindrome check | Check if a number is a palindrome |
| 24 | Patterns | Print square pattern |
| 25 | Petrol price calculator | Calculate petrol price |
| 26 | Pointer syntax | Example demonstrating pointer usage |
| 27 | Power function | Calculate xβΏ |
| 28 | Prime in range | Print prime numbers within a range |
| 29 | Prime check | Check whether a number is prime |
| 30 | Remove spaces | Remove spaces from a string |
| 31 | Reverse array | Reverse elements of an array |
| 32 | Simple Interest | Calculate simple interest |
| 33 | Specific operator | Use switch case for specific operations |
| 34 | Square root | Calculate square root |
| 35 | Sum of matrices | Add two matrices |
| 36 | Temperature conversion | Convert Celsius to Fahrenheit |
| 37 | Total price | Calculate total price of items |
| 38 | Transpose of matrix | Find transpose of a matrix |
| 39 | Uppercase conversion | Convert string to uppercase |
| 40 | Various input (struct) | Take input using structures |
| 41 | Vowel count | Count vowels in a string |
Description: Challenging programs with advanced logic and longer code.
Difficulty: High
| No. | Project | Description |
|---|---|---|
| 1 | Armstrong number | Check whether a number is an Armstrong number |
| 2 | Calculator v1 | Calculator implementation using functions |
| 3 | Determinant | Find determinant of a matrix |
| 4 | Fibonacci (recursion) | Generate Fibonacci series using recursion |
| 5 | Fibonacci (function) | Fibonacci series using function calls |
| 6 | Highest char frequency | Find the most frequent character in a string |
| 7 | Inverse of matrix | Calculate inverse of a matrix |
| 8 | Matrix multiplication (logic) | Matrix multiplication using loops |
| 9 | Matrix multiplication (arrays) | Matrix multiplication using arrays |
| 10 | Number system converter | Convert decimal to other number systems |
| 11 | Quiz v1 | Quiz program β version 1 logic |
| 12 | Quiz v2 | Quiz program β version 2 logic |
| 13 | Quiz v3 | Quiz program β version 3 logic |
| 14 | Specific area calculator | Calculate area based on selected shape |
| 15 | Specific operations (switch) | Menu-driven operations using switch case |
| 16 | Upper to lowercase (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





