user input in kotlin
snippet in kotlin

kotlin read input as int

user5258

readLine()!!.toInt()

user input in kotlin

user7593

fun main() {
  val userinput = readLine()
}