4.8 The break and continue Statements (Optional)
Ace your homework & exams now with Quizwiz!
The _____ statement causes a loop to stop its current iteration and begin the next one.
continue
The _____ statement causes a loop to terminate early.
break
break statement
can also be placed inside a loop. When it is encountered, the loop stops and the program jumps to the statement immediately following the loop.
break statement
causes a loop to terminate early.
continue statement
causes a loop to stop its current iteration and begin the next one.