Write a program that reads two numbers and prints their sum. The examples below demonstrate what the result should look like.
String templates
Arithmetic expression
Report a typo
Sample Input 1:
12
34Sample Output 1:
12 plus 34 equals 46Sample Input 2:
1
234Sample Output 2:
1 plus 234 equals 235Write a program in Kotlin
fun main() {
// write your code here
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.