RosettaCodeData/Task/Loops-Do-while/Julia/loops-do-while-1.julia
2018-08-17 15:15:24 +01: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