#include <stdio.h>int main(){ int a; int b; int sum; //sum = a+b;出错 ?? printf("请输入两个数 以空格或,隔开"); scanf("%d %d",&a,&b); sum = a+b; printf("%d + %d = %d\n",a,b,sum); return 0; }