C Program to Subtract Two Numbers

 #include<stdio.h>

void main()

{     int a,b;

    printf("Enter two numbers: ");

    scanf("%d %d",&a,&b);


    printf("Difference = %d",a-b);

}


Comments

Popular posts from this blog

Single Program Using All Automatic String Functions

C program for subtraction of two matrices (2D Arrays)

C program for Multiplication of Two matrices