For this assignment you will complete the implementation of a user-defined C++ class to represent arithmetic expressions. The interface of the class is shown below.
An object of class arithmetic_expression is initialized, at the time of its creation, to hold a specified arithmetic expression.
The class has three private data members that hold the left and right child pointers and the node data (token), respectively. The public interface provides getter and setter functions for the private data and a helper function to test if the token stored in the node is an arithmetic operator (this is useful during expression printing and evaluation).
Attachment:- Assignment.rar