×
×
Correct!
Use the correct keyword to exit the loop if
var i = 0
while (i < 10) {
println(i)
i++
if (i == 4) {
@(5)
}
}
var i = 0
while (i < 10) {
println(i)
i++
if (i == 4) {
break
}
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 39 exercises.
Are you sure you want to continue?