Breaking Out of Loops
A Programming Pattern |
Prof. David Bernstein |
Computer Science Department |
bernstdh@jmu.edu |
break
statement
that causes control to be transferred to the end
of the immediately enclosing loop
break
statement sparingly
(if at all)