RosettaCodeData/Task/Loops-While/Haxe/loops-while-2.haxe

7 lines
73 B
Plaintext

var i = 1024;
while (i > 0) {
Sys.println(i);
i = Std.int(i / 2);
}