I have an assignment in which I have to create a program toevaluate general infi
ID: 3614114 • Letter: I
Question
I have an assignment in which I have to create a program toevaluate general infix expressions. Example (4+2)*8-(7/3). Ineed to use two stacks one for the operators, one for theopperands. The user inputs a file name and the expressionsare in the file. I have a 2 stack classes written one aninteger stack and one a character stack. I am havingtrouble getting the client program written. I can get itto open the file but I am having trouble figuring out how toread the expression and how to evaluate it using the stacks. Please help.
Explanation / Answer
x.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.