#include<stdio.h>
int max(int a,int b)
{
int c;
if(a>b)
{
c=a;
}
else
{
c=b;
}
return(c);
}
int main()
{
int max(int a,int b);
int c;
int d;
int f;
int h;
printf("请输入三个整数");
scanf("%d",&c);
scanf("%d",&d);
scanf("%d",&f);
max(c,d);
h=max;
max(h,f);
h=max;
printf("max=%d",h);
return 0;
}
Camel97
相关分类