Created
March 20, 2024 02:22
-
-
Save hujuu/20ba8423fd1f6e6ce3cd14f19048354c to your computer and use it in GitHub Desktop.
D275_kotlin
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 num1 = readLine()!!.toInt() | |
val num2 = readLine()!!.toInt() | |
// 読み込んだ数値を掛け算して結果を表示 | |
val result = num1 + num2 | |
println("$result") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment