RosettaCodeData/Task/Loops-While/Bc/loops-while.bc

6 lines
44 B
Plaintext

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