RosettaCodeData/Task/Loops-Do-while/Julia/loops-do-while-1.julia
2023-07-01 13:44:08 -04:00

14 lines
128 B
Text

julia> i = 0
0
julia> while true
println(i)
i += 1
i % 6 == 0 && break
end
0
1
2
3
4
5