Thanks for being helpful. I am not sure how I mixed that up but for some reason in my head I was thinking “Do Addition then (should read “and”) Subtraction in order from left to right”. This is why it is a shower thought and why I am brushing up on my math. haha
Are you assuming all addition operations come before all subtraction operations, regardless of order?
Are you trying to tell me that using the order of operations addition is not done before subtraction?
The standard order of operations is
The operations on each row are equivalent, and are executed from left to right.
Thanks for being helpful. I am not sure how I mixed that up but for some reason in my head I was thinking “Do Addition then (should read “and”) Subtraction in order from left to right”. This is why it is a shower thought and why I am brushing up on my math. haha
If it helps to conceptualize, you can always replace subtraction and division with these equivalents without affecting the order:
a - b
= a + -b
= a + (-1*b)
and
a / b
= a * b-1
= a * (1/b)