[Difference] face questions of break and continue?

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/jhl19981125/article/details/102757588

break and continue the difference?

break and continue statements are used to control the loop.
end of a break for complete cycle, back out of the loop execution loop.
continue for skipping the current cycle, perform the next cycle.

Guess you like

Origin blog.csdn.net/jhl19981125/article/details/102757588