Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question # 6 multiple choice your program has a loop. you want to pass …

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

Explanation:

Brief Explanations

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.

Answer:

B. continue