[mw_shl_code=c,true]#include <stdio.h>
#include <stdlib.h>
int max(int x,int y);
int main()
{
int a,b,c;
scanf("%d,%d",&a,&b);//有点小粗心
c=max(a,b);
printf("max=%d\n",c);
return 0;
}
int max(int x,int y)
{
int z;
if(x>y)
{
z=x;
}
else
{
z=y;
}
return(z);
}
[/mw_shl_code] |