How can I rewrite this with Ternary Operator?

Printable View