Skip to content

Instantly share code, notes, and snippets.

@hujuu
Created March 20, 2024 02:12
Show Gist options
  • Save hujuu/005fe669389a2a09f22157d39a0176b8 to your computer and use it in GitHub Desktop.
Save hujuu/005fe669389a2a09f22157d39a0176b8 to your computer and use it in GitHub Desktop.
D265_kotlin
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