Loops/For with a specified step: Difference between revisions
Bait solution
imported>Arakov |
(Bait solution) |
||
Line 565:
I++
End</syntaxhighlight>
=={{header|Bait}}==
<syntaxhighlight lang="bait">
fun main() {
// Print all single digit odd numbers
for i := 1; i < 10; i += 2 {
println(i)
}
}
</syntaxhighlight>
=={{header|BASIC}}==
|