Program in C language to addition of two integer value.
Click here to open this program in Turbo C++
/*******************************************
Statement - Addition of two number
Programmer - Vineet Choudhary
Written For - http://developerinsider.co
********************************************/
#include <stdio.h>
#include <conio.h>
void main()
{
int a, b, c;
clrscr();
printf("Enter two numbers to add\n");
scanf("%d%d",&a,&b);
c = a + b;
printf("Sum of entered numbers = %d\n",c);
getch();
}
/************************************************
Output -
Enter two numbers to add
2
3
Sum of entered numbers = 5
************************************************/