In some situations,we want to take the control to the beginning of the loop,bypassing the statements inside the loop.The continue statement allows us to do this.
When continue is encountered inside any loop,control automatically passes to the beginning of the loop.
It is used with the if condition inside the loop.