Completed example of ternary operator.