Computer Science, asked by riyajha95, 5 months ago

why it is necessary to stop loop?​

Answers

Answered by preranarajnag2809
1

You need to use break and continue only if your statements are not enough to cover the logic that you want to apply. ... After the if statement, the loop goes on. It is exactly what does continue . It would make sense if you had some statements after the else statement and you would not execute but it is not the case.

I hope it helps you

Similar questions