Loops/Continue: Difference between revisions
no edit summary
No edit summary |
|||
Line 55:
}
}</lang>
=={{header|BASIC}}==▼
<lang fortran>▼
OpenConsole()▼
For i.i = 1 To 10▼
Print(Str(i))▼
If i % 5 = 0▼
PrintN("")▼
Continue▼
EndIf▼
Print(",")▼
Next▼
Repeat: Until Inkey() <> ""▼
</lang>▼
=={{header|C}}==
Line 484 ⟶ 466:
Write-Host -NoNewline ", "
}</lang>
▲<lang fortran>
▲OpenConsole()
▲For i.i = 1 To 10
▲ Print(Str(i))
▲ If i % 5 = 0
▲ PrintN("")
▲ Continue
▲ EndIf
▲ Print(",")
▲Next
▲Repeat: Until Inkey() <> ""
▲</lang>
=={{header|Python}}==
|