Ternary operator finds the maximum of three numbers

                        用三元运算符求三个数最大值:
                         a=15          b=30            c=23

                                        第一种方法

Ternary operator finds the maximum of three numbers

               第二种方法

Ternary operator finds the maximum of three numbers

Guess you like

Origin blog.51cto.com/14980925/2547513