Loops/Continue: Difference between revisions

Content added Content deleted
(Add C3)
m (Simplified the C3 example.)
Line 555: Line 555:
<syntaxhighlight lang="c3">for (int i = 1; i <= 10; i++)
<syntaxhighlight lang="c3">for (int i = 1; i <= 10; i++)
{
{
io::printf("%d", i);
io::print(i);
if (i % 5 == 0)
if (i % 5 == 0)
{
{