Assignment 1 Basics of C++ – MathLib Solution