#include<stdio.h>
int main()
{
int num1,num2,sum;
printf("enter the first number:");
scanf("%d",&num1);
printf("enter the second number:");
scanf("%d",&num2);
sum = num1+num2;
printf("sum of %d and %d is %d",num1,num2,sum);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: