RosettaCodeData/Task/Loops-Do-while/Microsoft-Small-Basic/loops-do-while-1.basic

9 lines
156 B
Plaintext

i = 0
' first iteration - before the While
i = i + 1
TextWindow.WriteLine(i)
While Math.Remainder(i, 6) <> 0
i = i + 1
TextWindow.WriteLine(i)
EndWhile