Kotlin - Loops and Ranges
Which of the following is the correct syntax to loop from 10 down to 1 using a range in Kotlin?
downTo to create a descending range.10 downTo 1, which correctly loops from 10 down to 1.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions