write a program to find the sum of two numbers
Answers
Answered by
18
Answer:
#include<stdio.h>
int main()
{
int x, y,sum;
printf("enter the value of x");
scanf("%d",&x);
printf("enter the value of y");
scanf("%d",&y);
sum=x+y;
printf("the sum of two=%d",sum);
return(0);
}
Answered by
1
Explanation
Explanationinclude<stdio.h>include<stdio.h>int main() {include<stdio.h>int main() {int a, b, sum;include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &a, &b);include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &a, &b);sum = a + b;include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &a, &b);sum = a + b;printf("Sum : %d", sum);include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &a, &b);sum = a + b;printf("Sum : %d", sum);return(0)
........................................................................
This is your answer
Similar questions