Thursday, March 23, 2017

3 subtract two number - c program


#include<stdio.h>
#include<conio.h>
main()
{
int a, b, sub;
printf(" Type the first number: ");
scanf("%d",&a);
printf("Type the second number: ");
scanf("%d",&b);
sub = a-b;
printf("Subtraction= %d",sub);
getch();
}
view raw 3.c hosted with ❤ by GitHub