Computer Science, asked by durlabhswift0826, 6 months ago

how is the break statement different from continue statement? explain with an.​

Answers

Answered by angelkandulna64
2

Answer:

Break statement mainly used to terminate the enclosing loop such as while, do-while, for or switch statement wherever break is declared. Continue statement mainly skip the rest of loop wherever continue is declared and execute the next iteration.

Similar questions