Basic Substract Program in C Languege

 This program is for display the substraction of two number in C language

#include<stdio.h>
#include<conio.h>
main()
{
int a,b,c;
printf("Enter two number for Substraction ");
scanf("%d %d ",&a,&b);
c=a-b;
printf("Substraction of two number is %d ",c);
getch();
}

Comments

Popular posts from this blog

Draw a line, First graphics program in C