Write a function called isGreater() that takes four integer numbers and returns true if a sum of the first two arguments is greater than a sum of the third and fourth argument. Otherwise, return false.
Use the provided code template.
Write a function called isGreater() that takes four integer numbers and returns true if a sum of the first two arguments is greater than a sum of the third and fourth argument. Otherwise, return false.
Use the provided code template.
Sample Input 1:
1
2
3
4Sample Output 1:
falseSample Input 2:
3
4
1
2Sample Output 2:
trueSample Input 3:
2
3
4
1Sample Output 3:
falseCreate a free account to access the full topic