RosettaCodeData/Task/Loops-While/HolyC/loops-while.holyc

6 lines
62 B
Plaintext

U16 i = 1024;
while (i > 0) {
Print("%d\n", i);
i /= 2;
}