#include<stdio.h>
int 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);
return 0;
}
int max(int x,int y,int z)
{
int h;
if((x>y)&&(x>z))h=x;
else if((y>x)&&(y>z))h=y;
else h=z;
return h;
}
08-17
1271
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
03-30
2575
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交