Question: 16. a) Write the following expression in postfix (reverse Polish) notation. Remember the rules of precedence for arithmetic operators! b) Write a program to evaluate
16.
a) Write the following expression in postfix (reverse Polish) notation. Remember the rules of precedence for arithmetic operators!

b) Write a program to evaluate the above arithmetic statement using a stack-organized computer with zero-address instructions (so only Pop and Push can access memory).
A-B+CX (DXE-F) X G+HXK
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
