Loops/Continue: Difference between revisions
Content deleted Content added
mNo edit summary |
m added a ;Task: (bold) header, added other whitespace to the task's preamble. |
||
Line 3: | Line 3: | ||
{{omit from|GUISS}} |
{{omit from|GUISS}} |
||
{{omit from|M4}} |
{{omit from|M4}} |
||
;Task: |
|||
Show the following output using one loop. |
Show the following output using one loop. |
||
1, 2, 3, 4, 5 |
1, 2, 3, 4, 5 |
||
6, 7, 8, 9, 10 |
6, 7, 8, 9, 10 |
||
Try to achieve the result by forcing the next iteration within the loop |
Try to achieve the result by forcing the next iteration within the loop |