Kotlin - Control Flow as Expressions
Find the error in this Kotlin code using
when without argument:val y = 3
val result = when {
y > 5 -> println("Greater than 5")
y < 5 -> println("Less than 5")
}