1 min readJan 15, 2019
--
Hi kunal puri,
Thank you for your response.
There is no way where you can put two or more conditions in a single for loop in Kotlin. You can use while loop for the same.
var i = 0
var j = 0
while (i < 10 && j < 10) { println(Integer.toString(i))
i++
j++
}
Also, Apologies for late reply. I seriously missed your comment notification.