Kotlin - Control Flow as Expressions
What will be printed by the following Kotlin code?
val temperature = 15
val description = when {
temperature > 30 -> "Hot"
temperature in 15..30 -> "Warm"
temperature in 0..14 -> "Cold"
else -> "Freezing"
}
println(description)