RosettaCodeData/Task/Loops-While/R/loops-while.r
2023-07-01 13:44:08 -04:00

6 lines
56 B
R

i <- 1024L
while(i > 0)
{
print(i)
i <- i %/% 2
}