#include <iostream.h>
int max(int a,int b,int c){ if (a>b) {if(a>c) return a; else return c; } else {if(b>c) return b; else return c; } }
void main(){ int a=2,b=3,c=4; cout<<max(a,b,c)<<endl;}
谢谢你,哥们,我明白了...