1、第一个printf语句删除2、scanf("%d %d %d",&a,&b,&c);%d之间不要加逗号
问题很多啊:
max = a; if (max < b) max = b; if (max < c) max = c; printf("max is : %d\n", max);