#include
void main()
{int a,b,c,d;
scanf("%d,%d,%d",&a,&b,&c);
d=max(a,b,c);
printf("max=%d",d);
getch();
}
int max(int x,int y,int z)
{int u;
if(x>=y&&x>=z)
u=x;
else if(y>=x&&y>=z)
u=y;
else
u=z;
return(u);
}
在onchange里添加代码吧。
连退格键都不用判断了。
• 手机登qq时,显示手机磁盘不足,清理后重新登 |
• 刺客的套装怎么选啊? |