Introduction
The break statement stops a loop or switch early. It helps you exit when you find what you want or need to stop.
When searching a list and you find the item you want, stop checking more.
When reading input until a special value appears, then stop reading.
When looping but a condition outside the loop says to stop immediately.
When you want to exit a switch case early to avoid running other cases.