Click Here For Maintainer Info
The programs archived on this page follow the standards and syntax used in my collegeβs computer labs.
C Lab Archive
A chronological archive of C programming lab work.
Current semester: 1
- Weeks completed: 1
- Programs archived: 7
- Current theme: Conditional & Operators
Navigate
Latest
β 5 September - Conditional & Operators
Week 1: Basic Operations & Conditionals
Theme: Input/Output, Arithmetic, and Basic Selection Statements
1 - 7 September, 2026
- Math & I/O Basics
- π data.c β A program to print student details such as name, DOB, batch, and group.
- π math-input.c β A program to calculate the sum and average of three numbers by taking input from the user.
- Geometry Programs
- Conditional Logic
- π odd-even.c β Checking if a number is odd or even.
- π compare.c β Comparing numbers to find the largest value.
- Variable Swapping
- π swap.c β Swapping two variables using a temporary variable.
- π swap-no-var.c β Swapping two variables without a temporary variable.
Week 2: Loops
Theme: for loops, while loops , do-while loops
8 - 14 September, 2026

Maintainer Info :
- Maintained by Himanshu Raj (alias YukiMeltz) - B.Tech CSE Student.
- Student maintained archive.
- This is an unofficial student resource.