This is the basic program of c language. In this program, the user enters a value of two variable a and b. The Sum of these two variable Stored in another third variable(sum) and print on the screen.
void main( )
int a, b, sum;
printf("Enter two Numbers: ");
scanf("%d %d",&a,&b); //get the value of a and b
printf("Sum of two Number is: %d",sum);