Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
fun main(args: Array<String>) {
println("Nhap so thu nhat: ")
var num1 = readLine()!!.toInt()
println("Nhap so thu hai: ")
var num2 = readLine()!!.toInt()
var Total = num1 + num2
println("Tong là: $Total")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.