break causes the control flow to exit current loop body (as if the loop condition has just ... We use enclosing loops to explain how break and continue work.
www.cs.umd.edu