Ok, here is a good one for programmers: Guess what it does print?
Try it out yourself with an online PHP program:
PHP:
<!DOCTYPE html>
<html>
<body>
<?php
$arg = 'YES';
$vehicle = ( ( $arg =='YES')? 'train' :
( $arg =='NO' )? 'car' :
( $arg =='NO' )? 'horse' :
'feet' );
echo $vehicle;
?>
</body>
</html>
Try it out yourself with an online PHP program:
W3Schools online PHP editor
The W3Schools online code editor allows you to edit code and view the result in your browser
www.w3schools.com