403
submitted 11 months ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] NikkiNikkiNikki@kbin.social 7 points 11 months ago

Multiplication and division have the same priority, whichever one comes first LTR is the one that gets resolved first, so it's (8 / 2) * 4

[-] SmartmanApps@programming.dev 1 points 7 months ago

it’s (8 / 2) * 4

It's 8/2(2+2)=8/(4+4) or 8/2(2+2)=8/2(4)=8/(2x4)

this post was submitted on 03 Dec 2023
403 points (99.8% liked)

196

16491 readers
1659 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