user input in kotlin
https://i.stack.imgur.com/fQYt3.png▾
I want to get user input in the variables a, b, c.
how can I do that thing ???
code :
fun main() {
val a = 10
val b = 5
val c = 12
if (a > b && a > c) {
println("a is greater")
} else if (b > c) {
println("b is greater")
} else {
println("c is greater")
}
}