Using Ternary operators instead of if statement, is it possible?

Printable View