A program that subtracts two integers in C.

#include<stdio.h>
#include<conio.h>

void main()
{
    int x,y,s;
    clrscr();
    printf("Enter first number : ");
    scanf("%d",&x);
   
    printf("\nEnter second number : ");
    scanf("%d",&y);

    s=x-y;
   
    printf("\nSubtract = %d",s);
    getch();
}



///////////////////////////////////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........