Created
March 20, 2024 02:12
-
-
Save hujuu/005fe669389a2a09f22157d39a0176b8 to your computer and use it in GitHub Desktop.
D265_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 * 3 | |
println("$result") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment