this post was submitted on 03 Dec 2023
421 points (100.0% liked)

196

16549 readers
1982 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] SmartmanApps@programming.dev 1 points 8 months ago

Order of operations is left to right

Order of operations is BEDMAS, THEN left to right within each operator.

1 is wrong

1 is the only correct answer.