为什么输入1 2会出现462?
#include <stdio.h>void main()
{
int max(int x,int y);
int a,b,c;
scanf("%d,%d",&a,&b);
c=max(a,b);
printf("%d",c);
}
int max(int x,int y)
{
int z;
if(x>y)z=x;
else z=y;
return(z);
}
2013-02-28 09:07
2013-02-28 09:11
2013-02-28 09:12
2013-02-28 09:24
2013-02-28 09:26

2013-02-28 09:28
2013-02-28 09:38
2013-02-28 13:40
2013-02-28 13:46
2013-02-28 14:22