Kotlin - Control Flow as Expressions
You want to assign a descriptive string to a variable based on an integer code using
when as an expression. Which code correctly handles codes 1, 2, and any other code as "Unknown"?