edited by
1,917 views
4 votes
4 votes
Compute the postfix equivalent of the following infix arithmetic expression

$a + b \ast c + d * e  \uparrow f$

where $\uparrow$ represents exponentiation. Assume normal operator precedences.
edited by

1 Answer

Best answer
13 votes
13 votes
$=a+(bc*)+(d(ef↑)*)$

$=(abc*+)+(def↑*)$

$=abc*+def↑*+$
edited by

Related questions

3 votes
3 votes
1 answer
1
makhdoom ghaya asked Nov 30, 2016
797 views
Express the following list in terms of a linked list structure suitable for internal representation.$(((ab)c)d((e)))$
0 votes
0 votes
1 answer
2
Arjun asked Oct 10, 2016
418 views
The postfix expression for the infix expression$$A + B*C/D +E$$isAB+*CD/E+ABC*D/+E+AB+C*D/E+A+*BCD/E+
28 votes
28 votes
3 answers
3
Kathleen asked Sep 29, 2014
8,643 views
Which of the following is essential for converting an infix expression to the postfix form efficiently?An operator stackAn operand stackAn operand stack and an operator s...