Breaking

Sunday, February 17, 2019

#2: C Program To Calculate substraction Of two Numbers

               Substraction of Two Numbers:

    SOURCE CODE:
#include<stdio.h>
int main()
{
    int a,b,c;
    printf("Enter the numbers to subtract them:\n");
    scanf("%d%d", &a, &b);
    c=a-b;
    printf("Subtraction of the two numbers is:=%d\n",c);
    return 0;
    }

 OUTPUT CONSOLE:

No comments:

Post a Comment

Popular Posts

Post Top Ad

Your Ad Spot

Pages