RosettaCodeData/Task/Loops-While/Lang/loops-while.lang

7 lines
56 B
Plaintext

$n = 1024
while($n > 0) {
fn.println($n)
$n //= 2
}