Created
May 31, 2018 19:03
-
-
Save sajjadyousefnia/33c184e511ce43a872dbcb4a3e23365c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val addNumbers = { number1: Int, number2: Int -> | |
println("Adding $number1 and $number2") | |
val result = number1 + number2 | |
println("The result is $result") | |
} | |
addNumbers(1, 3) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment