Kotlin - Loops and Ranges
Identify the error in this Kotlin code:
var n = 0
while n < 5 {
println(n)
n++
}var n = 0
while n < 5 {
println(n)
n++
}while n < 5 { missing parentheses around n < 5.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions