Master decision-making with if-else and switch, and repetition with loops.
Use if, if-else, and nested if-else to create branching logic.
Use the switch statement for multi-way branching based on a single value.
Execute blocks of code repeatedly using for, while, and do-while loops.
Control loop execution with the break and continue statements.