Introduction
The break statement stops a loop or switch case early. It helps you exit when you found what you want or need to stop.
When searching for a specific item in a list and you want to stop once found.
When you want to exit a loop if a certain condition happens.
When you want to stop checking more cases in a switch statement after one matches.
When you want to avoid unnecessary work after a goal is reached.