Back To C Basic Index
//program to input two numbers and find the difference between them #include
#include
void main() { int a,b; int diff; clrscr(); printf("enter value for a"); scanf("%d",&a); printf("enter value for b"); scanf("%d",&b); diff=a-b; printf("difference between a and b is %d",diff); getch(); }