RosettaCodeData/Task/Loops-While/SETL/loops-while.setl

6 lines
72 B
Plaintext

n := 1024;
while n > 0 loop
print( n );
n := n div 2;
end loop;