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
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
English,
3 months ago
Math,
3 months ago
Math,
3 months ago
Computer Science,
8 months ago
Math,
8 months ago
Business Studies,
11 months ago
Math,
11 months ago