#includevoid 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);}int max(int x,int y);{\x05int z;\x05if(x>y),z=x;\x05else z=y;\x05return(z);}

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 05:54:43

#includevoid 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);}int max(int x,int y);{\x05int z;\x05if(x>y),z=x;\x05else z=y;\x05return(z);}
#include
void 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);
}
int max(int x,int y);
{
\x05int z;
\x05if(x>y),z=x;
\x05else z=y;
\x05return(z);
}

#includevoid 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);}int max(int x,int y);{\x05int z;\x05if(x>y),z=x;\x05else z=y;\x05return(z);}
#include
void 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);
}
int max(int x,int y)//;分号不要
{
int z;
if(x>y)z=x;//逗号不要
else z=y;
return(z);
}