x+y=20
x-y=4
2x=24
x=12
y=8
11,33
18 and 6
4 and 12
12
= The sum of two numbers is -42 the first number minus the second number is 52 Find the numbers? =
The numbers are 7 and 6
11,33
212
To get the product, multiply the first number by the second. To get the sum, add the second number to the first. To get the difference, subtract the smaller number from the larger.
-8
18 and 6
4 and 12
12
= The sum of two numbers is -42 the first number minus the second number is 52 Find the numbers? =
-2 & -6
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.
8 & 12