write a program add two numbers using functions with argument and return
CLASS 12 CBSE
Answers
Answered by
2
Answer:
printf("Enter two integers: "); scanf("%d %d", &number1, &number2); Then, these two numbers are added using the + operator, and the result is stored in the sum variable. Finally, the printf() function is used to display the sum of numbers. printf("%d + %d = %d", number1, number2, sum);
Explanation:
please follow me.
Similar questions
Math,
3 months ago
English,
3 months ago
Math,
3 months ago
Math,
6 months ago
English,
6 months ago
Environmental Sciences,
10 months ago
Social Sciences,
10 months ago