0

programs to find biggest of 3 numbers using ternary operators?

11th Jul 2016, 2:46 AM
Caraline Raj
Caraline Raj - avatar
2 Respuestas
+ 1
A= x>y&&x>z ?echo x :y>z?echo y : echo z. use this code if number are x y z we can use ternary operator like nested if else aslo
11th Jul 2016, 5:28 AM
ranjeet darjee
ranjeet darjee - avatar
0
($a>$ b)?echo $a is big:echo $ c is big; ($b <$c)? echo $ c is big:echo $ bis big;
11th Jul 2016, 3:39 PM
Prasanth Mariyala
Prasanth Mariyala - avatar