Control Flow
Conditionals and loops: making decisions and repeating actions systematically.
Structured programs do not execute top-to-bottom in a straight line. This chapter covers if/else, switch, while, for, and do-while — the constructs that let a program respond to data and repeat work without copy-pasting code.