subtraction of two number
Subtraction of two number.
This programme simply subtract two number taken from the user.
Following method has used inside the programme
- Take two input from the user.
- Subtract them.
- Then store the result into other variable.
- And finally display the result.
Subtraction of two number
#include<stdio.h>'
void main()
{
int a,b,m;
printf("Enter 1st number");
scanf("%d",&a);
printf("Enter 2nd number");
scanf("%d",&b);
m=a-b;
printf("%d"",m);
}
subtraction of two number
Reviewed by Deepak kumar soni
on
October 17, 2018
Rating:
No comments: