English, asked by madagunakinikita, 1 month ago

program of addition of two numbers​

Answers

Answered by aribashaikh6793
0
Input:
#include
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;
}
Output:
Enter two integers: 12
11
12 + 11 = 23
Similar questions