# include <stdio.h>
void main()
{
int max (int,int,int);
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("max=%d\n",max(a,b,c));
getch();
}
int max(int x,int y,int z)
{
return (x>y?x:y)>z?x:z;
}
[ 本帖最后由 xy4919961 于 2009-11-23 17:29 编辑 ]
void main()
{
int max (int,int,int);
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("max=%d\n",max(a,b,c));
getch();
}
int max(int x,int y,int z)
{
return (x>y?x:y)>z?x:z;
}
[ 本帖最后由 xy4919961 于 2009-11-23 17:29 编辑 ]
QQ群:96348241