Loops/Continue: Difference between revisions

Content added Content deleted
(→‎{{header|Fortran}}: this version show the existence and use of cycle)
Line 39: Line 39:
+6, +7, +8, +9, +10
+6, +7, +8, +9, +10
</pre>
</pre>

=={{header|AWK}}==

<lang awk>BEGIN {
for(i=1; i <= 10; i++) {
printf("%d", i)
if ( i % 5 == 0 ) {
print
continue
}
printf(", ")
}
}</lang>


=={{header|C}}==
=={{header|C}}==