Ternary Variable

Set variable value using Ternary