You now control how your programs make decisions. if, else if, and else let you branch based on boolean conditions. switch gives you a cleaner way to match one value against many constants.
You learned that && and || combine conditions with short-circuit evaluation. You saw how arrow switch and switch expressions remove the need for break and produce values directly. You also know that variables declared inside a block are invisible outside it.
Next, you'll learn loops. Instead of running code once based on a condition, you'll run it repeatedly until a condition changes.