回复 1# lilong6570779 的帖子
main (){
int a,b,c,max1;
printf("please input three number:");
scanf("%d,%d,%d",&a,&b,&c);
max1=max(max(a,b),c);
printf("%d\n",max1);
getch();
}
int max(int x,int y)
{
int a;
if(x>y)a=x;
else a=y;
return a;
}
2008-07-23 17:46
2008-07-23 22:01
2008-07-23 22:01
2008-07-25 11:45
2008-07-25 14:05
2008-07-25 18:55