重复定义函数了啊.max1和max2定义了两次
int max1(int x,int y);
int max2(int x,int y);
main()
{
int a,b,c;
scanf("%d%d%d",&a,&b,&c);
printf("max=%d",max2(max1(a,b),c));
}
int max1(int x,int y)
{ int d
d=x>y?x:y;
return d;
}
int max2(int x,int y)
{ int c
c=x>y?x:y;
return c;
}