continue are two very common jobs in almost every programming language. Both play their role somewhere in loops. Loop may be
In this article, I’ll be using
for each loop to demonstrate the concept of
continue. They work in same way in almost every programming language.
break will be your friend to save your loop from more iteration and
continue will be really helpful to boost your logic.