#include <stdio.h>
int main()
{
int a, b, c;
printf("Enter two numbers\t:\t");
scanf("%d%d", &a , &b );
c= a + b;
printf("The sum of %d and %d is %d", a, b, c);
return 0;
}
int main()
{
int a, b, c;
printf("Enter two numbers\t:\t");
scanf("%d%d", &a , &b );
c= a + b;
printf("The sum of %d and %d is %d", a, b, c);
return 0;
}
Enter two numbers : 2 3 The sum of 2 and 3 is 5
Comments
Post a Comment