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

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -