math - Postfix Expression? -



math - Postfix Expression? -

i have question asks "what value of postfix look 6 3 2 4 + - * ?"

options are:

a. between -15 , -100

b. between -5 , -15

c. between 5 , -5

d. between 5 , 15

e. between 15 , 100

calculations, maintain getting 18 answer, e, reply a.

am missing something?

you missing order of operands "-" operator. in infix notation, evaluates 6*(3-(4+2)) = -18.

math expression

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -