# includevoid main(){int max(int x,int y,int z);int a,b,c,d;scanf("%d,%d,%d",&a,&b,&c);d=max(a,b,c);printf("max=%d\n",d);}int max(int x,int y,int z);int k,t;if(x>y){k=x;if(k>z)return(k);elset=z;return(t);}else {k=y;if(k>z)return(k);elset=z;return(t);
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/11 18:52:57
# includevoid main(){int max(int x,int y,int z);int a,b,c,d;scanf("%d,%d,%d",&a,&b,&c);d=max(a,b,c);printf("max=%d\n",d);}int max(int x,int y,int z);int k,t;if(x>y){k=x;if(k>z)return(k);elset=z;return(t);}else {k=y;if(k>z)return(k);elset=z;return(t);
# include
void main()
{
int max(int x,int y,int z);
int a,b,c,d;
scanf("%d,%d,%d",&a,&b,&c);
d=max(a,b,c);
printf("max=%d\n",d);
}
int max(int x,int y,int z);
int k,t;
if(x>y)
{
k=x;
if(k>z)
return(k);
else
t=z;
return(t);
}
else
{
k=y;
if(k>z)
return(k);
else
t=z;
return(t);
}
# includevoid main(){int max(int x,int y,int z);int a,b,c,d;scanf("%d,%d,%d",&a,&b,&c);d=max(a,b,c);printf("max=%d\n",d);}int max(int x,int y,int z);int k,t;if(x>y){k=x;if(k>z)return(k);elset=z;return(t);}else {k=y;if(k>z)return(k);elset=z;return(t);
#include<stdio.h>
main()
{
int max(int x,int y,int z);
int a,b,c,d;
scanf("%d,%d,%d",&a,&b,&c);
d=max(a,b,c);
printf("max=%d\n",d);
}
int max(int x,int y,int z)//函数的花括号少了,不要分号
{
int k,t;
if(x>y)
{
k=x;
if(k>z)
return(k);
else
t=z;
return(t);
}
else
{
k=y;
if(k>z)
return(k);
else
t=z;
return(t);
}
}