How the execution of while loop can be terminated?
Answers
Answered by
13
break terminates the execution of a for or while loop. Statements in the loopafter the break statement do notexecute. In nested loops, break exits only from the loop in which it occurs. Control passes to the statement that follows the end of that loop.
PLEASE MARK ME AS BRAINLIST
PLEASE MARK ME AS BRAINLIST
Answered by
4
Break ends the execution of a for or while circle.
Explanations on top of it after the break proclamation don't execute.
The break articulation ends the circle containing it.
In settled circles, break exits just from the circle in which it happens.
Control goes to the explanation that pursues the finish of that circle.
Similar questions