Chapter 6.280-282 break and continue Statements

Ace your homework & exams now with Quizwiz!

counting part of the loop

The loop uses continue to skip over the_______when the character isn't a space.

some condition becomes true

This shows how you can use break to terminate a loop fromwithin when________.

break statement

You can use the_______in a switch statement and in any of the loops.

terminate the loop

A continue statement program lets the loop echoes each character and uses break to_______if the character is a period.

enter a line of text

A continue statement program lets you_______.

counts spaces

Next the program_______but not other characters.

skip over parts of the code

The break and continue statements enable a program to_______.

break statement

The_______causes program execution to pass to the next statement following the switch or the loop.

continue statement

The_______is used in loops and causes a program to skip the rest of the body of the loop and then start a new loop cycle.


Related study sets

Dog, Star, Question Mark and Cash Cow- Final Exam

View Set

Brazil Social Studies Test Monday

View Set

LSCM 3960 Inventory Quiz - Part I

View Set

Management Exam 2 (1-4) (5-9) (10-15)

View Set