#include <stdio.h>
#include <stdlib.h>
int main() {
int number1, number2, sum;
printf("请输入加数:");
scanf("%d", &number1);
printf("请输入被加数:");
scanf("%d", &number2);
sum = number1 + number2; // 修正了这里,将两个数相加并赋值给sum
printf("\n%d + %d = %d", number1, number2, sum); // 修正了这里的打印语句
return 0;
}