infix to prefix question

the original value is ((7+9)/2-(4+6)*3)/5

i need to convert this to prefix and i got:/*/+792+4635 i'm not entirely sure if i'm correct can somebody please explain what i need to do in terms of order of operations.

thanks in advance
For simple mathematical expressions: PEMDAS
Parenthesis
Exponents
Multiply and Divide left to right
Add and Subtract left to right
Last edited on
ok so it follows the same rules but + and - (* and / as well)are ties so when i see them just go from left to right?
Correct.
Topic archived. No new replies allowed.