C program to add two values: This C language program perform the arithmetic operation of addition on two values and then prints the sum on the screen.
#include<stdio.h>
#include<conio.h>
main()
{
int value1,value2,sum;
clrscr();
printf("\nEnter two integer values : ");
scanf("%d %d",&value1,&value2);
sum = value1 + value2;
printf("\n%d + %d = %d",value1,value2,sum);
getch();
return 0;
}