Continue Statement

1. Explanation of continue statement.

  • The continue statement gives you the option to skip over the part of a loop. The continue statement can be use in both while and for loops.
  • The continue statement cause a program to skip certain factors that come up within a loop, but then continue through the rest of the loop.

2. Syntax for continue statement.

  • continue


3. The flow diagram:


4. Example code:



5. Output:



6. Quiz:













Comments

Popular posts from this blog

WAN Technology

LO3 - Know the features and functions of information systems

WDD - LO1 - MANAGE SECURE SITES