character input in kotlin code example
Example: how to get char input in kotlin
import java.util.Scanner
fun main(args: Array<String>) {
val scanner = Scanner(System.`in`)
val chr = scanner.next().single()
}
import java.util.Scanner
fun main(args: Array<String>) {
val scanner = Scanner(System.`in`)
val chr = scanner.next().single()
}