Here is the code:
fun main(args : Array<String>){
add(41,22)
}
fun add(num1 : Int, num2 : Int){
println(“The sum is :” num1 + num2)
}
Here is the code:
fun main(args : Array<String>){
add(41,22)
}
fun add(num1 : Int, num2 : Int){
println(“The sum is :” num1 + num2)
}