Question: Hello i need your help to implement this function eval ( line 21 on picture ) in C++ the function returns the evaluation

Hello i need your help to implement this function "eval" ( line 21 on picture) in C++

Hello i need your help to implement this function "eval" ( line

the function returns the evaluation of the infix expression in vals.

In order to do this, you need to use the stack structure (wich contains the evaluation operands of postfix expression) that you can find in this folder:

https://drive.google.com/drive/folders/1hI5ATeOy-sM3_24a0XTYkEKeDViX0VfH

41 class Eval InFixf 6private: string _inFix; string _postFix; Stack opStack; 10 12 14 16public: int predcchar,char) bool isOperator(char); bool is0perand(char); void inFixzPostFixO; 17/s: infix expression 18 vals: array with the values of evaluation // example: if "A"(B4C)"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!