That's because the integers may be negative. For example, the sum of (-6) and (-6) is (-12), which is less than their difference (0).
No. Consider 0 and 1. Or negative numbers, whose sum produces a smaller number.
9 and 11.
To find the sum of integers, you use addition.To find the difference, you use subtraction.
The integers are -7 and -5.
That's because the integers may be negative. For example, the sum of (-6) and (-6) is (-12), which is less than their difference (0).
When the integers are negative.
No. Consider 0 and 1. Or negative numbers, whose sum produces a smaller number.
It is 0.
greater
9 and 11.
To find the sum of integers, you use addition.To find the difference, you use subtraction.
Seven of them.
The integers are -7 and -5.
program SumAndDifference; var num1, num2, sum, difference: integer; begin write('Enter first number: '); read(num1); write('Enter second number: '); read(num2); sum := num1 + num2; difference := num1 - num2; if sum > difference then written('The sum is greater: ', sum) else written('The difference is greater: ', difference); end. This program will prompt the user to enter two numbers, calculate their sum and difference, and then compare the two values. If the sum is greater than the difference, it will display the sum; otherwise, it will display the difference.
All of them.
7 and -4