RosettaCodeData/Task/Loops-While/Sparkling/loops-while.sparkling

6 lines
56 B
Plaintext

var i = 1024;
while i > 0 {
print(i);
i /= 2;
}