Question: Write a function named evaluateInfix ( ) that evaluates infix expressions that consist of single - digit operands, operators ( + , - ,
Write a function named "evaluateInfix that evaluates infix expressions that consist of singledigit operands, operators and and parentheses. evaluateInfix must call a separate function named "infixToPostfix to convert the infix expression into a postfix expression, and then it should do the work of evaluating the resulting postfix expression. Then write a main function to thoroughly test the function. Assume that unary operators are illegal and that the expression contains no embedded spaces. Use the same pseudocode referenced in project Use the STL stack. Full documentation is required.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
