If i understand correctly, continue skips all the lines of the loops current iteration and starts again from the top whereas break exits the loop. Is this correct?
1 Answer
Correct, and keep in mind that in nested loops, continue and break will only continue or break the innermost loop.