Kotlin code to perform sum of two numbers using function and return the value? All Questions › Category: Kotlin › Kotlin code to perform sum of two numbers using function and return the value? 0 Vote Up Vote Down chetan shidling asked 4 years ago I need code with output: fun main(args : Array<String>){var result = add(41,22)println(“The sum is : $result”)} fun add(num1 : Int, num2 : Int):Int{return num1 + num2} Output: The sum is : 63