The value of the postfix expression 8 3 4 + - 3 8 2 / + * 2 $ 3 +
is:
a) 17
b) 131
c) 64
d) 52
Prefix of A-B/C*D$E
is:
a)-/*$ACBDE
b)-ABCD*$DE
c)-A/B*C*$DE
d)-A/BC*$DE
Can anybody explain to me how to solve these expressions when a $
sign is present? What does this dollar sign indicate?
In this case, I am certain the operator is exponentiation.
8 3 4 + - 3 8 2 / + * 2 $ 3 + is:
8 3 4 + - = 1
3 8 2 / + = 7
1 7 * = 7
7 2 $ = 49
49 3 + = 52.
Or maybe
7 2 $ = 128
128 3 + = 131.
Depends on how your instructor defined the operator.