帮我看下
题目:编写一个C程序,输入a,b,c3个值,输出其中最大者我编的程序运行后并没有什么反应,不知道是哪里有错误啊,初学者,请多指教
下面是我写的东东
#include<stdio.h>
void main()
{
int x, y, z;
scanf("%d,%d,%d",&x,&y,&z);
if(x>y>z)
printf("the max number is =%d\n",x);
else if(x>z>y)
printf("the max number is =%d\n",x);
else if(y>x>z)
printf("the max number is =%d\n",y);
else if(y>z>x)
printf("the max number is =%d\n",y);
else if(z>x>y)
printf("the max number is =%d\n",z);
else if(z>y>x)
printf("the max number is =%d\n",z);
}