#include <stdio.h>
#include <stdlib.h>
int max2(int x,int y)
{
int z;
z=x>y?x:y;
return z;
}
int max4(int a,int b,int c,int d)
{
int max;
max=max2(a,b);
max=max2(max,c);
max=max2(max,d);
return max;
}
int main()
{ int max;
max=max4(2,6,1,8);
printf("两个数之间最大数为:%d\n",max);
system("pause");
}