Q. Consider each of the following postfix expressions:
P1 : 5, 3, +, 2, *, 6, 9, 7, -, /, -
P2 : 3, 5, +, 6, 4, -, *, 4, 1, -, 2, |, +
P3 : 3, 1, +, 2, |, 7, 4, - 2, *, +, 5, -
Translate each expression into infix notation and then evaluate.
Answer =
P1 : 13
P2 : 25
P3 : 17
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )