Aside from writing multiple if/else if statements in Kotlin, another option for writing code that evaluates one of a number of possible conditions is a code example
Example: kotlin if else condition
if (a > b) {
max = a
} else {
max = b
}
if (a > b) {
max = a
} else {
max = b
}