Created
August 15, 2019 04:06
-
-
Save rail-rate/721fadebca9f6ac7fd1b7f66c58e56aa to your computer and use it in GitHub Desktop.
main外6
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 main(args: Array<String>) { | |
val ans = cal(3, 5, 8) //3つに増やした | |
println(ans) | |
} | |
fun cal(x : Int, y : Int, z : Int) = x * y * z //こっちも3つに増やした |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment