C Programming – 10-Day Syllabus Plan (Up to Loops)
Day 1: Introduction to C
• History, features, and importance of C
• Structure of a C program
• Compilation & execution process
• Writing the first C program
• Role of main(), #include, return
Day 2: Basic Syntax & Data Types
• Tokens: keywords, identifiers, symbols
• Variables and constants
• Data types: int, char, float, double
• Type modifiers: short, long, unsigned
• Rules for naming variables
Day 3: Input & Output Operations
• printf() and scanf() usage
• Format specifiers (%d, %c, %f, etc.)
• getch(),return 0
• Practice: Taking input and displaying output
Day 4: Operators in C
• Arithmetic operators
• Relational and logical operators
• Assignment and compound assignment
• Increment/decrement (++, --)
• Operator precedence and associativity
Day 5: Decision Making – if Statements
• if, if-else, else-if ladder, nested if
• Use of logical operators in conditions
• Practice: largest of 3 numbers, simple grading system
Day 6: Decision Making – switch-case
• Syntax of switch
• Use of case, break, default
• Comparison with if-else
• Practice: calculator, days of week program
Day 7: Looping – while Loop
• Syntax and flow of while
• Entry-controlled loop
• Practice: Print 1 to N, Sum of digits, Reverse a number
Day 8: Looping – do-while Loop
• Syntax and flow
• Difference between while and do-while
• Menu-driven programs using do-while
• Practice: Repeat until user exits
Day 9: Looping – for Loop & Control Statements
• Syntax and usage of for loop
• Nested for loops
• Loop control: break, continue
• Practice: Multiplication table, Print even/odd numbers, Simple patterns (stars, numbers)
List of programs we can cover in above syllabus
Print “Hello, World!”
Print your name, age, and course
Calculate area and perimeter of a rectangle
Perform arithmetic operations (add, subtract, multiply, divide)
Calculate average of 3 numbers
Swap two numbers using a third variable
Demonstrate increment and decrement operators
Evaluate and display result of (a + b) * c / d
Take input from user and print back their name, roll number, and marks
Input 2 numbers and print the sum, difference, and product
Check whether a number is even or odd
Find the greatest of three numbers
Check eligibility to vote (age >= 18)
Simple calculator using switch-case
Print grade based on percentage (A, B, C, etc.)
Print numbers from 1 to 10 using while, for, and do-while
Sum of first N natural numbers
Print multiplication table of a given number
Print even and odd numbers from 1 to N
Reverse a number (e.g., 123 → 321)
Find the factorial of a number
Check if a number is a palindrome
Generate a simple number pattern (like a triangle of stars or numbers)