Program
#include<stdio.h>
int main()
{
int a,b,sum;
printf("Enter first number:");
scanf("%d",&a);
printf("Enter second number:");
scanf("%d",&b);
sum=a+b;
printf("\nSum=%d",sum);
return 0;
}
Output
Enter first number:4
Enter second number:8
Sum=12