How to avoid many if else conditions

Printable View