EGYM Interview Question

C++, coding exercises, code review