Substraction of two numbers using C language





#include<stdio.h>
int main()
{
   int a,b,Sub;
   printf("enter the value for a :");
   scanf("%d",&a);
   printf("enter the value for b :");
   scanf("%d",&b);
   Sub=a-b;
   printf("The Substraction of a&b is:%d",Sub);
}

 

No comments:

Post a Comment