Kotlin - Loops and Ranges
What is the output of this Kotlin code?
var i = 1
while (i <= 3) {
print(i)
i++
}var i = 1
while (i <= 3) {
print(i)
i++
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions