RosettaCodeData/Task/Loops-While/Wren/loops-while.wren

6 lines
73 B
Plaintext

var i = 1024
while (i > 0) {
System.print(i)
i = (i / 2).floor
}