求3个整数的较大者
# include <stdio.h>void main()
{
int max(int x, int y, int z);
int a,b,c,d;
scanf ("%d%d" ,&a ,&b, &c);
d = max(a ,b, c);
printf ("max = %d\n" , d);
}
int max(int x, int y, int z)
{
int j;
if (x > y > z)
j = x;
else
j = y;
return (j);
}