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

6 lines
62 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
U16 i = 1024;
while (i > 0) {
Print("%d\n", i);
i /= 2;
}