write a function to return a value in kotlin code example
Example: return type in kotlin function
//Function having two Int parameters with Int return type
fun sum(a: Int, b: Int): Int {
return a + b
}
//Function having two Int parameters with Int return type
fun sum(a: Int, b: Int): Int {
return a + b
}