Write a program to accept to numbers
and print the sum of these numbers
through function in C-programming,
Answers
Answered by
1
Answer:
Ok mate.
Explanation:
#include <stdio.h>
int main() {
int number1, number2, sum;
printf("Enter two integers: ");
scanf("%d %d", &number1, &number2);
// calculating sum
sum = number1 + number2;
printf("%d + %d = %d", number1, number2, sum);
return 0;
}
Similar questions