CyberSlug Rules!

Beginner Programming CMPS060

Prof. Paulo Franca

Home

Syllabus

Login

Objects

Download

Staff only

Breaking out of a loop

you may decide to interrupt a loop by either.

  • break - interrupt the loop;
  • continue - interrupt the current iteration and step to the next.
Breaking out of loop; Skip the rest and continue