Working through Jumping into C++ exercises