a = 10 repeat { print(a) a = a - 1 if(a <= 0) break }
a = 10 while(a >= 0) { print(a) a = a - 1 }
for( i in 1:10) print(i)
for(i in 1:10) { if(i == 5) break print(i) }
for(i in 1:10) { if(i == 5) next print(i) }