KT
kt
1
2
3
4
5
6
7
8
9
fun main(args: Array<String>) {
println("Please enter 3 numbers");
val (x,y,z)= readLine()!!.split(" ").map{it.toInt()};
val sum = x+y+z;
println("Sum of $x, $y, $z is $sum");
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run