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.


Related study sets

Module 2: Plate Tectonics Practice Quiz

View Set

the setting sun and the rolling world with the meaning

View Set

Random questions and answers (online)

View Set

Computer Hardware, Software, Types of Computers, and Components

View Set

ESL Conversation C1: 15 studying & work (tough interview questions)

View Set