C Program to Add two numbers. In this program we will take two numbers as an input from the user and display the sum of these two number.

Addition of Two Numbers

In the following program we will add two numbers input by the user.

//Swap two Numbers
void main()
    //variable declaration
int x,y,z;

printf("enter two numbers for sum \n");

//input from user


//final output
printf("The sum is %d",z);


		sum of two numbers
		Figure 1
		add two numbers
		Figure 2