Skip to content

πŸ“˜ A collection of beginner-friendly C programs, showcasing fundamental programming concepts. Perfect for learning or quick reference!

License

Notifications You must be signed in to change notification settings

md-sonu07/C-Programs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ C Projects Repository

A collection of beginner-friendly C programs to learn and practice core programming concepts!

C Programming Logo


πŸ“Š Repository Stats

GitHub Repo stars GitHub forks
GitHub contributors
GitHub last commit


πŸ“Œ About

This repository contains small C programs designed to cover fundamental concepts in C programming.

Whether you are a beginner, a student, or a developer looking for reference implementations, this is for you!

πŸ”Ή Learn: Understand core concepts step by step.

πŸ”Ή Practice: Write and execute programs for better understanding.

πŸ”Ή Revise: Use it as a reference for quick concept refresh.


πŸ“‚ Project Structure

πŸ“¦ C-Programs
 ┣ πŸ“‚ Notes
 ┃ ┣ πŸ“œ Algorithm in C.pdf
 ┃ ┣ πŸ“œ Data Types in C.pdf
 ┃ ┣ πŸ“œ Flowchart in C.pdf
 ┃ ┣ πŸ“œ History in C.pdf
 ┃ ┣ πŸ“œ Logical Statements in C.pdf
 ┃ ┣ πŸ“œ loop in C.pdf
 ┃ β”— πŸ“œ Operators in C.pdf
 ┣ πŸ“‚ Programs
 ┃ ┣ πŸ“‚ 01 - 10
 ┃ ┃ ┣ πŸ“œ 1-Hello world.c
 ┃ ┃ ┣ πŸ“œ 2-GvarOrLvar.c
 ┃ ┃ ┣ πŸ“œ 3-Scanf.c
 ┃ ┃ ┣ πŸ“œ 4-DOB Print.c
 ┃ ┃ ┣ πŸ“œ 5-Function Lvar Gvar.c
 ┃ ┃ ┣ πŸ“œ 6-Largest no find.c
 ┃ ┃ ┣ πŸ“œ 7-Compare Three No.c
 ┃ ┃ ┣ πŸ“œ 8-Check Your Grade.c
 ┃ ┃ ┣ πŸ“œ 9-Vowel or Consonant.c
 ┃ ┃ β”— πŸ“œ 10-Check number, letter, or special character.c
 ┃ ┣ πŸ“‚ 11 - 20
 ┃ ┃ ┣ πŸ“œ 11-Days Name Find.c
 ┃ ┃ ┣ πŸ“œ 12-Find Ascii Value Of any key.c
 ┃ ┃ ┣ πŸ“œ 13-Print Table Using in For loop.c
 ┃ ┃ ┣ πŸ“œ 14-Print table Using While Loop.c
 ┃ ┃ ┣ πŸ“œ 15-Print table using do while loop.c
 ┃ ┃ ┣ πŸ“œ 16-Using Do while loop Sum.c
 ┃ ┃ ┣ πŸ“œ 17-Using while loop Sum.c
 ┃ ┃ ┣ πŸ“œ 18-Using for loop Sum.c
 ┃ ┃ ┣ πŸ“œ 19-Creat a Simple Calculator.c
 ┃ ┃ β”— πŸ“œ 20-Multiples of 5 using continue.c
 ┃ ┣ πŸ“‚ 21 - 30
 ┃ ┃ ┣ πŸ“œ 21-Multiples of 5 using continue while loop.c
 ┃ ┃ ┣ πŸ“œ 22-Multiples of 5 Using do while loop.c
 ┃ ┃ ┣ πŸ“œ 23-Print number within a range.c
 ┃ ┃ ┣ πŸ“œ 24-Table using Goto statement.c
 ┃ ┃ ┣ πŸ“œ 25-accept 5 numbers from user Using Array.c
 ┃ ┃ ┣ πŸ“œ 26-Print int by value and address.c
 ┃ ┃ ┣ πŸ“œ 27-Array min max.c
 ┃ ┃ ┣ πŸ“œ 28- find the searching number in array.c
 ┃ ┃ ┣ πŸ“œ 29-Array Find Even or odd.c
 ┃ ┃ β”— πŸ“œ 30-Find Second Largest no in array.c
 ┣ πŸ“œ LICENSE
 β”— πŸ“œ README.md

πŸ“ Table of Contents, Day-wise Topics and Projects

Day Topic PDF πŸ“„ Project πŸ› 
1 Display Variables πŸ“„ Notes πŸ›  Project 1
2 Global and Local Variables πŸ“„ Notes πŸ›  Project 2
3 Input and Display Numbers πŸ“„ Notes πŸ›  Project 3
4 Input and Display Date of Birth πŸ“„ Notes πŸ›  Project 4
5 Using Global Variables and Functions πŸ“„ Notes πŸ›  Project 5
6 Find the Largest of Two Numbers πŸ“„ Notes πŸ›  Project 6
7 Find the Largest of Three Numbers πŸ“„ Notes πŸ›  Project 7
8 Calculate Percentage and Grade πŸ“„ Notes πŸ›  Project 8
9 Check Vowel or Consonant πŸ“„ Notes πŸ›  Project 9
10 Identify Character Type πŸ“„ Notes πŸ›  Project 10
11 Days Name Finder πŸ“„ Notes πŸ›  Project 11
12 ASCII Value of Any Key πŸ“„ Notes πŸ›  Project 12
13 Table Using For Loop πŸ“„ Notes πŸ›  Project 13
14 Table Using While Loop πŸ“„ Notes πŸ›  Project 14
15 Table Using Do-While Loop πŸ“„ Notes πŸ›  Project 15
16 Sum Using Do-While Loop πŸ“„ Notes πŸ›  Project 16
17 Sum Using While Loop πŸ“„ Notes πŸ›  Project 17
18 Sum Using For Loop πŸ“„ Notes πŸ›  Project 18
19 Simple Calculator πŸ“„ Notes πŸ›  Project 19
20 Multiples of 5 with Continue πŸ“„ Notes πŸ›  Project 20
21 Multiples of 5 (Continue While Loop) πŸ“„ Notes πŸ›  Project 21
22 Multiples of 5 (Do While Loop) πŸ“„ Notes πŸ›  Project 22
23 Print Numbers in Range πŸ“„ Notes πŸ›  Project 23
24 Table Using Goto Statement πŸ“„ Notes πŸ›  Project 24
25 Accept 5 Numbers in Array πŸ“„ Notes πŸ›  Project 25
26 Print Int by Value and Address πŸ“„ Notes πŸ›  Project 26
27 Min Max in Array πŸ“„ Notes πŸ›  Project 27
28 Search Number in Array πŸ“„ Notes πŸ›  Project 28
29 Array Even or Odd πŸ“„ Notes πŸ›  Project 29
30 Find Second Largest in Array πŸ“„ Notes πŸ›  Project 30


πŸ”§ Installation & Usage

πŸ“₯ Step 1: Clone the Repository

git clone https://github.com/md-sonu07/C-Programs.git

πŸ’» Step 2: Set Up Your Environment

Ensure you have a C compiler installed:

  • GCC: sudo apt install gcc (Linux)
  • MinGW: Download (Windows)
  • Turbo C++: Download

▢️ Step 3: Compile & Run a Program

Navigate to the program folder and compile any program:

cd "C-Programs/Programs/01 - 10"
gcc 1-Hello\ world.c -o hello
./hello

πŸ“œ License

This project is licensed under the MIT License.

You are free to use, modify, and distribute this code under the following conditions:

MIT License

Β© 2025 Danish Farhan

Permission is granted to use this software for any purpose, with no warranty.

πŸ‘₯ Contributing

πŸŽ‰ Contributions are Welcome! πŸŽ‰

To contribute:

  1. Fork the repository 🍴
  2. Create a new branch πŸ”€
  3. Commit your changes πŸ’Ύ
  4. Open a Pull Request πŸ“©

πŸ’‘ Need Help?

If you have any questions, feel free to:

  • πŸ“Œ Open an Issue here
  • πŸ“Œ Reach out on GitHub Discussions

πŸš€ Happy Coding! 🎯


About

πŸ“˜ A collection of beginner-friendly C programs, showcasing fundamental programming concepts. Perfect for learning or quick reference!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages