Question: Write the code of stack architecture to compute the expression below. The result should be stored on the stack.
(A+B) * C / (D / E)
You can push multiple operands on the stack. The operation will always use the two topmost values. For example, to evaluate (A+B+C), you can use the code below:
Push A
Push B
Push C
Add // this does (B+C) and puts it on the top of the stack
Add // this adds the previous result to A
Remember, the division operation divides the topmost value in the stack by the second value.
Answer this question in detail support your rationale.