#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sub;
clrscr();
printf("Enter two numbers for subtraction\n");
scanf("%d%d,"&a,&b);
sub=a-b;
printf("subtraction=%d",sub);
getch();
}
output
Enter two numbers for subtraction
30
10
subtraction= 20
No comments:
Post a Comment
Thanks for sharing your views