C Program for Addition of Two Numbers

C – Addition of Two Numbers C Language Programming Code

Here is the code:

#include
#include
void main()
{
int a,b,c;
clrscr();
printf(“Enter two numbers:n”);
scanf(“%d%d”,&a,&b);
c=a+b;
printf(“nAddition of the two given numbers is :%d”,c);
getch();
}

The following Program is tried and tested.

Add Comment