Applying the DRY Principle in C++ | CodeSignal Learn