Add Two Integers in Kotlin
We can do the sum of two integers in Kotlin by using the + operator.Example
fun main(args: Array<String>) {
val first: Int = 10
val second: Int = 20
val sum = first + second
println("The sum is: $sum")
}
Output
The sum is: 30