program:
Related Links:
#include<stdio.h>
int main()
{
int a,b,c;
printf("Enter first number\n");
scanf("%d",&a);
printf("Enter second number\n");
scanf("%d",&b);
c=a-b;
printf("Sub=%d",c);
}
output: