#include <stdio.h>
int main()
{
int x, y, z;
{
int x, y, z;
printf("Enter two numbers to add\n");
scanf("%d%d", &x, &y);
scanf("%d%d", &x, &y);
z = x + y;
printf("Sum of the numbers = %d\n", z);
return 0;
}
}
Output of the program:


No comments:
Post a Comment