Rahul Sagar Raj
Home
C Program
Java Program
C# Program
Windows Software
Mobile Apps
Contact Us
Subtraction Program In C
#include<stdio.h>
#include<conio.h>
void main()
{
int a,b,sub;
clrscr();
printf("Enter the value=");
scanf("%d%d",&a,&b);
sub=a-b;
printf("Subtraction=%d",sub);
getch();
}
Output:-
Enter the value=20
5
Subtraction=15
Previous
Next
No comments:
Post a Comment
Home
Subscribe to:
Posts (Atom)
No comments:
Post a Comment