Computer Science, asked by LITHOS, 8 months ago

write a program to add 2 numbers and calculate their sum

Answers

Answered by pandeyvinitkumar457
0

Answer:

int main() { int x, y, z;

printf("Enter two numbers to add\n"); scanf("%d%d", &x, &y);

printf("Sum of the numbers = %d\n", z);

Answered by aditya4528
1

Answer:

The addition of two numbers in C language is performing the arithmetic operation of adding them and printing their sum on the screen. For example, if the input is 5, 6, the output will be 11.

Similar questions