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