#includevoid main(){int a,b;float c,d;printf("请输入一个三位整数");scanf("%d",&a);printf("请输入一个三位整数");scanf("%d",&b);printf("请输入一个三位小数");scanf("%f",&c);d=(a+b+c)/3.0;printf("%7.2f\n",d);}通过