Files
cpp-course/modules/02_control_flow
2026-08-12 13:49:55 +03:00
..
2026-08-11 17:40:36 +03:00
2026-08-12 13:49:55 +03:00
2026-08-11 17:40:36 +03:00
2026-08-11 17:40:36 +03:00

Module 02: Control Flow

Learning Goals

  • Write conditional logic with if, else if, and else
  • Use switch statements and understand fall-through
  • Implement loops: for, while, and range-based patterns
  • Control loop execution with break and continue

Exercises

Exercise Topic
conditionals Classification, min/max, sign
switch_statements Menu dispatch, enum handling
loops Summation, factorial, search
break_continue Filtering, early exit