RosettaCodeData/Task/Program-termination/V-(Vlang)/program-termination.v

5 lines
61 B
V

for num in 1..10 {
println('$num')
if num == 5 {exit(1)}
}