嵌套的三元运算符

a>b?a:(c>d?c:d)

当有多重判断时,这条表达式就派上用场了

原文地址:https://www.cnblogs.com/xushining/p/3171968.html