RosettaCodeData/Task/Loops-While/QuickBASIC/loops-while.basic

6 lines
48 B
Plaintext

i = 1024
WHILE i > 0
PRINT i
i = i \ 2
WEND