Subtraction of two numbers in c- language

Subtraction of two numbers in c- language


#include<stdio.h>
int main()
{
int x,y,z;
printf ("Enter two numbers");
scanf("%d%d",&x,&y);
z=x-y;
printf("Subtraction of two numbers are=%d",z);
}

OUTPUT
Enter two numbers 9
5
Subtraction of two numbers are=4


Subtraction of two number is simple program of C-language.After reading this program you will be able to form simple mathematics subtraction.

If you like this program then you can share it and for any issues you can direct contact with me from Home Page.


For regular updates you can also follow my site.

Comments

Popular posts

Language Translator of C-language

Introduction of C-language.

Syntax of C-language

Creative pattern of butterfly in C-language

Program to see all ASCII value using for loop in C-language

Program to convert binary to decimal using while loop in C-language

Division of two numbers in C-language

Addition of two numbers in c language

Creative Pattern of Rhino in C-language