Menu
×
×
Correct!
Exercise:Use the correct keyword to exit the loop if
var i = 0
while (i < 10) {
println(i)
i++
if (i == 4) {
break
}
}
Not CorrectClick here to try again. Correct!Next ❯var i = 0 while (i < 10) { println(i) i++ if (i == 4) {} } |