Kotlin - Loops and Ranges
What is the output of this Kotlin code?
for (i in 10 downTo 2 step 4) {
print(i)
}for (i in 10 downTo 2 step 4) {
print(i)
}15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions