write a program to add 2 numbers and calculate their sum
Answers
Answered by
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
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