Control Structures
30 mins
Covers conditional statements and loops for flow control.
Learning Goals
- Construct if‑else and switch statements.
- Create while, for, and foreach loops.
- Apply loop control statements (break, continue).
- Design nested control structures to solve a problem.
- Trace execution flow for given code snippets.