Computer Science, asked by Abhijit9437, 1 year ago

what is the use of break statement in loop

Answers

Answered by nancyyy
3
break statement in for loop is used to close the statement and stop executing the programm in other cases to give the user's desired answer.
Answered by Aadi4040
2
When the break statement is encounterd in the statement the loop immediately terminated and the program control resume at the next statement followed by loop

Aadi4040: Mark it brainlist... plzzz...
nancyyy: same here:-)
Similar questions