Module 02: Control Flow
Learning Goals
- Write conditional logic with
if,else if, andelse - Use
switchstatements and understand fall-through - Implement loops:
for,while, and range-based patterns - Control loop execution with
breakandcontinue
Exercises
| Exercise | Topic |
|---|---|
conditionals |
Classification, min/max, sign |
switch_statements |
Menu dispatch, enum handling |
loops |
Summation, factorial, search |
break_continue |
Filtering, early exit |