if statement ex. of ternary

if statement example of ternary