Is it ok to have if else in my switch?

Printable View