void main(){ // 少了这个 左花括号int max, a,b,c;scanf("%d,%d,%d",&a,&b,&c); // &c 后面多了一个 逗号。
您的程序在max之前缺少一个分号!