Skip to content

Instantly share code, notes, and snippets.

@hujuu
Created March 20, 2024 02:30
Show Gist options
  • Save hujuu/9695608d52169af8459377412610f8f5 to your computer and use it in GitHub Desktop.
Save hujuu/9695608d52169af8459377412610f8f5 to your computer and use it in GitHub Desktop.
D268_kotlin
fun main(args: Array<String>) {
val num1 = readLine()!!.toInt()
val num2 = readLine()!!.toInt()
val num3 = readLine()!!.toInt()
val result = num1 - num2 - num3
println("$result")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment