php trinocular calculating the maximum number of the minimum value calculated three

Article Address: https://www.cnblogs.com/sandraryan/

x 10 = $; Y = $ 45; Z = $. 3; 
// Max Min obtaining three digits 
// first comparison xy, if x> y, and x is determined z, is determined from the maximum value of the assigned xz to max 
// if X < y , and y is determined z, yz is determined from the maximum value of 
$ max = X $ > $ y ($ X> Z $ X $:? $ Z):? (y $> $ Z? Y $: $ Z); 
$ X $ = min < $ Y ($ X <Z $ X $: $ Z): ($ Y <Z $ Y $:??? $ Z); 
echo $ max; // 45 
echo '<br> '; 
echo $ min; //. 3

Twenty-two find extreme value calculated ~~

Guess you like

Origin www.cnblogs.com/sandraryan/p/11718103.html