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

8 lines
71 B
Text
Raw Permalink Normal View History

2023-08-01 14:30:30 -07:00
fun main() {
mut i := 1024
for i > 0 {
println(i)
i = i / 2
}
}