0
programs to find biggest of 3 numbers using ternary operators?
2 odpowiedzi
+ 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
0
($a>$ b)?echo $a is big:echo $ c is big; ($b <$c)? echo $ c is big:echo $ bis big;