Control flow
Programs must choose between alternatives and repeat actions. Control flow defines how execution moves through code based on conditions and loops.
- Booleans and comparisons — True and false values with comparison operators.
- Conditional execution — Running code when conditions are met.
- Loops and repetition — Repeating behavior with structured loops.