If you have lots of else ifs then start using switch
(I hope you see what I did there)
What exactly did you do there, Christian?
used just one if :P
I saw it, nicely done
Why not switch by default, just in case? ;-)
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.