subtraction of two number

                        Subtraction of two number.


This programme simply subtract two number taken from the user.

 
https://programminghub1999.blogspot.com/2018/10/subtraction-of-two-number.html




                                 Following method has used inside the programme

  1. Take two input from the user.
  2. Subtract them.
  3. Then store the result into other variable.
  4. And finally display the result.

                   

                                   Subtraction of two number




#include<stdio.h>'
void main()
{
   int a,b,m;
printf("Enter 1st number");
scanf("%d",&a);
printf("Enter 2nd number");
scanf("%d",&b);
m=a-b;
printf("%d"",m);
}

subtraction of two number subtraction of two number Reviewed by Deepak kumar soni on October 17, 2018 Rating: 5

No comments:

Powered by Blogger.