Text book exercises for C++ 101 level class