RosettaCodeData/Task/Loops-While/Dragon/loops-while.dragon

6 lines
74 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
i = 1024
while(i > 0){
showln i
i >>= 1 //also acceptable: i /= 2
}