What is the equivalent infix expression of the following postfix expression?
What is the equivalent infix expression of the following postfix expression?
M, N, O, +, *, P, /, Q, R, S, T, /, +, *, −
Show answerHide answer
Correct answer: (D) (((M * (N + O))/P) − (Q * (R + (S/T))))
Explanation
Scanning left to right: M N O + * gives M*(N+O); then P / gives (M*(N+O))/P; Q R S T / + * gives Q*(R+S/T); the final − joins them: ((M*(N+O))/P) − (Q*(R+(S/T))).