a non-floating point calculator written in c++ for a class, using OOP and polymorphism