Skip to content

Instantly share code, notes, and snippets.

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