Пашко - Лабораторная работа #1

I think `switch` is more suitable for this case.