What is the difference between break and continue statements when they occur in a loop?
Question :
What is the difference between break and continue statements when they occur in a loop?
The break statement is used to exit from a loop. The continue statement is used skip the
remaining statements in a loop and continue with the next iteration.