Operations and truth

Report a typo

Read three lines. You need to check whether the third line is equal to the sum of the first two lines.

If the first two lines put together form the third one, print true; otherwise – false.

Sample Input 1:

sum
mer
summer

Sample Output 1:

true

Sample Input 2:

tomato
cucumber
salad

Sample Output 2:

false
Write a program in Kotlin
fun main() {
// write your code here

}
___

Create a free account to access the full topic