#include<stdio.h>void main(){int a,b,c,max;scanf("%d,%d,%d",&a,&b,&c);if (a>b&&a>c) max=a;else if (b>a&&b>c) max=b;else max=c;printf("max=%d",max);}到底错哪了???????????
你输入的时候输入错了应该在个个数字之间加入逗号比如1,2,3输出max=3