17.4---返回max,不用if 思路:借助max公式就可以了。max(x,y)=0.5*(x+y+|x-y|) 注意:1,结尾要加(int)。 答案: max(x,y)=0.5*(x+y+|x-y|) View Code