#include <stdio.h>
int main()
{
int a,b,sum;
printf("Please Enter the 1st Number: ");
scanf("%d",&a);
printf("Please Enter the 2nd Number: ");
scanf("%d",&b);
sum=a+b;
printf("The sum of %d and %d is: %d",a,b,sum);
return 0;
}
Output
Please Enter the 1st Number: 5
Please Enter the 2nd Number: 6
The sum of 5 and 6 is: 11
Add your comment