There is nothing to explain much. Here is the code of that kind of application:
#include
int main() {
int firstNum, secondNum, delta = 0;
printf("Please enter first number (a): ");
scanf("%d", &firstNum);
printf("Please enter second number (b): ");
scanf("%d", &secondNum);
delta = firstNum - secondNum;
printf("a - b = %d\n", delta);
return 0;
}
Testing:
Please enter first number (a): 46
Please enter second number (b): 2
a - b = 44
Please enter first number (a): 1
Please enter second number (b): 45
a - b = -44
The group of two addition and two subtraction using the same three numbers can be represented as follows: Given numbers (a), (b), and (c), one possible arrangement is ( (a + b) - c + (a - b) ). This expression uses addition and subtraction to combine the same three numbers in different ways, resulting in a calculation that involves each of the numbers.
Finding the difference of two numbers is known as subtraction.
read the value A,b store the result of subtraction of a,b in continer subtraction display subtraction
write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html
Subtracting two numbers is finding their difference.
subtraction
A set of real numbers is closed under subtraction when you take two real numbers and subtract , the answer is always a real number .
5
addition means when you add two or more numbers together.+ subtraction means you subtract two or more numbers together.- multiplication means when you mutiply two one, or more digit numbers together.x division means when you divide two numbers together./
a number lower than the original number
It is normal subtraction. if the tw numbers are x and y then the subtraction is x-y
When you subtract two numbers, the operation is called subtraction. The result of this operation is known as the difference. For example, if you subtract 3 from 7, the difference is 4. Subtraction is one of the four basic arithmetic operations, alongside addition, multiplication, and division.