C++ Language/ProgramFlow/BreakStatement
A break
statement aborts the execution of a loop.
Instead of finishing the remaining statements in the loop's body, program flow immediately jumps to the code that follows the loop (ignoring the loop's condition).