请大神看一看这程序错哪里了。。我是菜鸟
#include "Stdio.h"int main()
{
int max(int x,int y);
int a,b,c;
scanf("%d,%d",&a,&b);
c=max(a,b);
printf("max=%d\n",c);
getch();
return 0;
}
int max(int x,int y)
{
int z;
if(x>y)z=x;
else z=y;
return(z);
}
2015-03-03 14:31
2015-03-03 14:45
2015-03-03 15:08
2015-03-03 16:20
2015-03-03 19:38
2015-03-03 19:39
2015-03-03 19:40
2015-03-03 20:04
2015-03-03 21:34
2015-03-03 23:34