There is a class named Calculator. It has a member function getResult() which can calculate the value of the expression. Please complete the design and implementation of the class.