Sunday, 18 February 2018

C Program add two number



                        C Program Add Two Number:-


First of all  let three variable a,b,c and the simply first number store in a and and second number in store b then sum of  two value store in c  

#include<stdio.h>
int main()
{
     int a,b,c;
     printf("Enter The First number:");
     scanf("%d%",&a);
     printf("Enter the Second Number:");
     scanf("%d",&b);
     c=a+b;
     printf("%d+%d=%d",a,b,c);
     return 0;
}


OUTPUT:-

Enter the First Number:5
Enter The Second number:5
5+5=10