4.8 The break and continue Statements (Optional)

¡Supera tus tareas y exámenes ahora con 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.

continue statement

causes a loop to stop its current iteration and begin the next one.

break statement

causes a loop to terminate early.


Conjuntos de estudio relacionados

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