Федосов - Лабораторная работа #2

Every branch executes the exact same code. Why use a switch?