Kotlin - Loops and Ranges
What will this Kotlin code print?
var sum = 0
repeat(4) { sum += it }
println(sum)var sum = 0
repeat(4) { sum += it }
println(sum)15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions