Skip to main content

Add two integer numbers using c programming.

This code is very impotent for you , if you want to add two  numbers . In this programmer  user input two number and output will be sum of two numbers .




odd




#include<stdio.h>
int main()
{
int a,b,c;
a=5;                 //a and b value is 5 and 10, so it is integer number.
b=10;
c=a+b;
printf("Sum of the value is = %d",c);
return 0;
}

output




Comments