Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

your program has a loop. you want to exit the loop completely if the us…

Question

your program has a loop. you want to exit the loop completely if the user guesses the correct word. which statement leaves the loop? break quit exit continue

Explanation:

Brief Explanations

In programming, the break statement is used to exit a loop immediately when a certain condition is met. The quit and exit are used to terminate the whole program, not just a loop. The continue statement skips the rest of the current iteration of the loop and moves to the next iteration, not exiting the loop completely.

Answer:

A. break