Imagine that you need to do a code review and predict without running a program what will be printed:
fun increment(count: Int) = count + 1
fun main() {
var count = 0
while (count < 5) {
increment(count)
}
println(count)
}
What will be the output of the program?