Last active
July 22, 2017 07:05
-
-
Save jutikorn/f8110c664a143a4f5b4177f613b15cf4 to your computer and use it in GitHub Desktop.
tco sample
This file contains 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
fun myfunc(num : Int = 20): Int { | |
if(num == 0){ | |
return 0 | |
} else { | |
return myfunc() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment