Computer Science, asked by prakashkanchan03, 11 months ago

Obtain the postfix notation for the following infix notation of expression showing the
contents of the stack and postfix expression formed after each steps of conversion-
(A+B)*C+D/E-F

Answers

Answered by Amalaprincy
1

Answer:

The expression A + B * C + D can be rewritten as ((A + (B * C)) + D) to show that the multiplication happens first, followed by the leftmost addition. A + B + C + D can be written as (((A + B) + C) + D) since the addition operations associate from left to right.

ʰᵒᵖᵉ ⁱᵗ ʰᵉˡᵖˢ....

ᵐᵃʳᵏ ᵐᵉ ᵃˢ ᵇʳᵃⁱⁿˡⁱᵉˢᵗ ❤❤

Similar questions