Online Kotlin Compiler
fun main(args: Array<String>) { val x: Int = 25 val y: Int = 45 val z = x + y println("The sum of $x + $y is $z") }
Output Results
The sum of 25 + 45 is 70
fun main(args: Array<String>) { val x: Int = 25 val y: Int = 45 val z = x + y println("The sum of $x + $y is $z") }
Output Results
The sum of 25 + 45 is 70