Kotlin - Control Flow as Expressions
What is the output of the following Kotlin code?
val x = 3
val result = when (x) {
1 -> "One"
2 -> "Two"
3 -> "Three"
else -> "Unknown"
}
println(result)