A structured repository containing academic assignments, laboratory tasks, and foundational program implementations in the C programming language.
The repository is organized into distinct homework modules containing individual problem solutions:
├── C PROGRAMMING HOMEWORK 1.0/ # Core syntax, math, and logical problem sets
│ ├── main num 1.c
│ ├── main num 2.c
│ ├── main num 3.c
│ └── ... (Files ranging from num 1 to num 25)
├── HOMEWORK 2.0/ # Intermediate problem tracks and advanced assignments
├── .gitignore # Build artifact and temporary file exclusion rules
└── README.md # Project documentation
This module consists of 25 distinct programming challenges designed to master functional programming paradigms. Key focused items include:
- Sequential Logic:
main num 1.ctomain num 5.c - Control Flow & Loops:
main num 6.ctomain num 15.c - Modular Math & Conditions:
main num 18.ctomain num 25.c
An advanced continuation of the course focusing on structured data types, algorithms, and modular project design.
- Syntax Basics: Variables, primitive data types, operators, and basic formatted I/O (
printf,scanf). - Control Structures: Conditional branching (
if-else,switch-case) and iteration loops (for,while,do-while). - Data Layouts: Array tracking, matrix grids, and introductory dynamic string manipulations.
- Algorithmic Logic: Formula evaluations, logical checks, and iterative mathematical computational solving.
To compile and execute the .c files, you must have a modern C compiler installed on your operating system:
- Linux: GCC (
sudo apt install build-essential) - macOS: Clang (via Xcode Command Line Tools:
xcode-select --install) - Windows: MinGW-w64 / MSVC (or via IDEs like Code::Blocks / VS Code)
-
Clone the repository:
git clone https://github.com
-
Navigate to the target homework directory:
cd "C-programming/C PROGRAMMING HOMEWORK 1.0"
-
Compile a specific source file (e.g., Problem 1):
gcc "main num 1.c" -o problem1 -
Execute the compiled program binary:
- Linux/macOS:
./problem1 - Windows:
problem1.exe
- Linux/macOS: