int max(int a,int b){return (a>b)?a:b; }double max(double a,double b){return (a>b)?a:b; }char* max(char* a,char* b){return (strcmp(a,b)>0)?a:b; }