RosettaCodeData/Task/Loops-While/Bait/loops-while.bait

8 lines
71 B
Plaintext

fun main() {
mut i := 1024
for i > 0 {
println(i)
i = i / 2
}
}