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