Computer Science, asked by AbeerBurman, 1 year ago

write a program to find the sum of two numbers ​

Answers

Answered by lalmaanpriyanka
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 s14666brahul08901
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", &amp;a, &amp;b);include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &amp;a, &amp;b);sum = a + b;include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &amp;a, &amp;b);sum = a + b;printf("Sum : %d", sum);include<stdio.h>int main() {int a, b, sum;printf("\nEnter two no: ");scanf("%d %d", &amp;a, &amp;b);sum = a + b;printf("Sum : %d", sum);return(0)

........................................................................

This is your answer

Similar questions