PROGRAM :-
#include<stdio.h>
void main()
{
int a,b,sub;
printf("Enter the value of a: ");
scanf("%d",&a);
printf("\nEnter the value of b: ");
scanf("%d",&b);
sub=a-b;
printf("\nThe Substraction of a & b is :%d",sub);
}
OUTPUT :-
Enter the value of a: 20
Enter the value of b: 5
The Substraction of a & b is :15
Comments
Post a Comment