An open API service indexing awesome lists of open source software.

https://github.com/tonystark-19/c-coding

Welcome to my C coding repository! This repository is organized into three levels of programs, categorized by logic complexity and the number of lines of code. It's a great starting point for practicing, improving, and mastering C programming.
https://github.com/tonystark-19/c-coding

c cprogramming

Last synced: 2 months ago
JSON representation

Welcome to my C coding repository! This repository is organized into three levels of programs, categorized by logic complexity and the number of lines of code. It's a great starting point for practicing, improving, and mastering C programming.

Awesome Lists containing this project

README

        

# C Coding Repository 🚀

Welcome to my **C coding repository!** This repository is organized into three levels of programs, categorized by logic complexity and the number of lines of code. It's a great starting point for practicing, improving, and mastering **C programming**.

---

## 📝 Overview

This repository contains a collection of **C programming exercises and projects** organized into levels based on complexity. Whether you're a **beginner, intermediate, or advanced programmer**, you'll find relevant programs to enhance your C skills.

---

## 💡 Features

✅ Covers various fundamental and advanced topics in **C programming**
✅ Includes **commented code** for better understanding
✅ Programs range from **simple to complex logic**
✅ Great for **practice, learning, and revision**

---

## 📁 Repository Structure

### Level 1: Beginner 🌱
> **Description:** Simple programs to get started with C programming.
> **Difficulty:** Low

#### 🔹 Basic Programs

- [ ] **(a+b)^2** - simple (a+b)^2
- [ ] **All op at once** - all arithmetic operations
- [ ] **Area of circle** - area of circle calculation
- [ ] **Area of rectangle** - area of rectangle
- [ ] **Area of square** - area of square
- [ ] **Avg finder 2** - average using float
- [ ] **Cube of a number** - cube of number using simple logic
- [ ] **Cube of a number 2** - cube of number using pow function
- [ ] **Eligible for license** - license eligiblity program
- [ ] **Find your age** - find your age
- [ ] **Int avg** - average using int
- [ ] **Odd Even** - to check a number is odd or even
- [ ] **Pass or Fail** - to check if a student is pass or fail
- [ ] **Q and R** - quotient and remainder
- [ ] **Rectangle perimeter** - perimeter of rectangle
- [ ] **Remainder** - remainder only
- [ ] **Swapping** - swapping digits
- [ ] **Tables** - printing tables of number

---

### Level 2: Intermediate 🔄
> **Description:** Programs with moderate logic and complexity.
> **Difficulty:** Medium

#### 🔹 More than basic programs

- [ ] **2D array** - 2d array implementation using tables
- [ ] **Array in ascending order** - sorting array in ascending order
- [ ] **Code for matrix** - matrix code
- [ ] **Combine str** - combine two strings
- [ ] **Days** - switch case implementation
- [ ] **Details input** - general details input
- [ ] **Digits sum** - digits sum of a number
- [ ] **Discount 1** - check discount program 1
- [ ] **Discount 2** - check discount program 2
- [ ] **Factorial** - factorial of a number using simple logic
- [ ] **Facotrial 2** - factorial of a number using recursion
- [ ] **Factor of number** - to find factors of a given number
- [ ] **GCD** - greatest common divisor
- [ ] **Grades** - grades program
- [ ] **Insert in array** - insert element in array
- [ ] **is digit or not** - is the entered value a digit or not
- [ ] **Language** - languate output using functions
- [ ] **Largest in array** - largest element in array
- [ ] **Multiple results** - multiple calcultion results
- [ ] **n natural sum** - n natural sum using simple logic
- [ ] **n natural sum 2** - n natural sum using recursion
- [ ] **Odd or even input** - this code takes input until odd value is entered
- [ ] **Palindrome or not** - to check a number is palindrome or not
- [ ] **Patterns** - square pattern
- [ ] **Petrol price calculation** - to calculate price of petrol
- [ ] **Pointer syntax** - syntax of pointers
- [ ] **Power function** - power function to calulate x^n
- [ ] **Prime number in a range** - prime number in a range
- [ ] **Prime or not** - to check if a number is prime or not
- [ ] **Remove spaces** - to remove spaces from a string
- [ ] **Reverse array** - to reverse an array
- [ ] **SI** - simple interest calculation
- [ ] **Smallest number** - to check which number is smallest between a and b
- [ ] **Specific operator** - specifix operations using switch case
- [ ] **Square root of a number** - to find square root of a number
- [ ] **Sum calculation** - to add numbers
- [ ] **Temperature conversion** - to convert celcius to fahrenheit
- [ ] **Total price** - total price of items
- [ ] **Upper case conversion** - to convert string to uppercase
- [ ] **Upper to lower case** - to convert string to lowercase
- [ ] **Various input** - details input using structure
- [ ] **Vowels count** - to count vowels in a string

---

### Level 3: Advanced 💡
> **Description:** Challenging programs with advanced logic and longer code.
> **Difficulty:** High

#### 🔹 Advanced programs

- [ ] **Armstrong or not** - to check if a number is armstrong or not
- [ ] **Calculator version 1** - calcuator using functions
- [ ] **Determinant** - determinat of matrix
- [ ] **Fibonacci sequence** - fibonacci sequence using recursion
- [ ] **Fibonacci sequence 2** - fibonacci sequence using function
- [ ] **Highest char frequency** - to find which char has appeared most times in a string
- [ ] **Inverse** - inverse of a matrix
- [ ] **Multiplication of matrix** - multiplication of matrix using logic
- [ ] **Multiplication of matrix using array** - multiplication of matrix using array
- [ ] **Number system version 1** - number system conversion
- [ ] **Quiz version 1** - Quiz version 1
- [ ] **Quiz version 2** - Quiz version 1
- [ ] **Quiz version 3** - Quiz version 1
- [ ] **Specific area** - specific area calculation using function
- [ ] **Specific operations 2** - specific operations using switch
- [ ] **Sum of matrix** - sum of two matrix
- [ ] **Transpose of matrix** - transpose of a matrix
- [ ] **Upper to lowercase** - upper to lowercase conversion using functions

---

## 🔧 Prerequisites

To run the programs in this repository, you need:

- A C compiler (e.g., GCC, Clang, or MSVC).
- Basic knowledge of C programming, pointers etc.
- A code editor (e.g., VS Code, CodeBlocks, or Dev-C++).

---