Fix the program

Report a typo

Given a program that reads three numbers and outputs their sum.

Now the program cannot compile.

Fix all compile-time errors as well as logic errors.

Sample Input 1:

8
11
20

Sample Output 1:

39
Write a program in Kotlin
fu main() {
val a = readLine()!!.nextInt()
val b = readLine()!!.nextInt()
val c = readLine()!!.nextInt()

val sum = a - b - d

println(sum)
}
___

Create a free account to access the full topic