QUESTION IMAGE
Question
question # 6
multiple choice
your program has a loop. you want to pass control back to the start of a loop if a certain condition is met.
what statement will keep you in the loop but skip the rest of the code in the loop?
exit
continue
quit
break
The continue statement in programming is used to pass control back to the start of the loop for the next iteration and skip the remaining code in the current iteration of the loop when a certain condition is met. In contrast, exit and quit terminate the whole program, and break terminates the loop prematurely.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. continue