Control Flow
6 Topics
1
If-Else Statements
Conditional branching in C++
Basic control flow
2
Switch-Case
Multi-way branching with switch
Alternative to if-else chains
3
For Loops
Traditional and range-based for loops
Essential for iteration
4
While and Do-While Loops
Condition-based iteration with while and do-while constructs
Essential loop pattern — common in input validation, event loops, and sentinel-controlled iteration
5
Break and Continue
Loop control statements
Flow control in loops
6
Goto Statement
Unconditional jump (and why to avoid it)
Understanding legacy code