int main(){int a,b;printf("输入两个数字(例如2,3):");scanf("%d,%d",&a,&b);if (b==0){printf("被除数不能为0");return 0;}printf("商:%0.2f\n",a/b);printf("余数:%d\n",a%b);return 0;}