QUESTION IMAGE
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
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.
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
A. break