Ternary statement

I created a ternary statement.