#include<stdio.h>
int max(int x, int y)
{
int z;
if(x>y) z=x;
else z=y;
return z;
}
收起
调用函数,你在主函数里写出max(a,b);
就得到了最大值,这个最大值就是从写的max函数返回的。
报告相同问题?