帮忙看看哪错了呀
#include"stdio.h"int max(int x,int y){
int z;
if(x>y)
z=x;
else z=y;
return (z);
}
void main() {
int maxnum,a,b,c;
printf("piease input 3 numbers;/n");
scanf ("%d,%d,%d",&a,&b,&c);
maxnum=max(a,b);
maxnum=max(maxnum,c);
printf("max number is %d\n",maxnum);
}