Continue Statement
1. Explanation of continue statement.
2. Syntax for continue statement.
3. The flow diagram:
4. Example code:
5. Output:
6. Quiz:
- 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:
Comments
Post a Comment