Efficient way of using if and else.

Printable View