(Evaluate expression) Modify Listing EvaluateExpression.cpp to add operators a for exponent and % for modulus. For example, 3 A 2 is 9 and 3 % 2 is 1. The a operator has the highest precedence and the & operator has the same precedence as the * and / operators. Here is a sample run of the program:
Trace how the expression (3 + 4) * (1 − 3) - ((1 + 3) * 5 − 4) is evaluated using the program in Listing.
LISTING EvaluateExpression.cpp1



We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.