fun main() {
println(add(10,7,9))
}
// Define add() function below this line
fun add(firstNumber: Int, secondNumber: Int, thirdNumber: Int): String {
val result = add(firstNumber, secondNumber)
val anotherResult = add(firstNumber, thirdNumber)
return "$firstNumber + $secondNumber = $result"
return "$firstNumber + $thirdNumber = $anotherResult"
}
New contributor
mozby raymond is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.