Learn Coding Easily
#include<studio.h>
#include<conio.h>
void main()
{
clrscr()
int a,b,sub;
printf("enter the positive integer number a= ");
scanf("%d",&a);
printf("enter the positive integer number b= ");
scanf("%d",&b);
sub=a-b;
printf("total= %d",sub);
getch();
}
Example;
Compiler Name - Turbo C
Input
Nice
Nice
ReplyDelete