KodeGod.com

003. Write a program to accept values of two numbers and print their subtraction


#include<stdio.h>
#include<conio.h>  
main()
{
 int a,b,c;
 clrscr();
 printf("Enter number 1: ");
 scanf("%d",&a);
 printf("Enter number 2: ");
 scanf("%d",&b);
 c=a-b;
 printf("Subtraction   : %d",c);
 getch();
}