ok i'm going to ignore you now since you clearly didn't read my post fully. TWICE.ACman said:In java but in java and most other languages insist on operations between each number.intheweeds said:this is how it would resolve - IF it were in Java. However, in java you would never write 2(12), brackets confuse the reader since the language uses brackets for other reasons. Honest i wouldn't even know if it would resolve like that. never tried. In Java the equation would be:ACman said:48/2(12) is different to 48/2*12intheweeds said:well if it were a statement in java, the brackets resolve first, leaving you with:
48/2(12)
now you have division and multiplication left to resolve. Since they are equal in priority, they resolve left to right. So:
24*12 = 288
I would assume programming languages use the same math as math, but i haven't been in high school for a very long time, i wouldn't remember exactly.
Brackets first! Including coefficients of brackets!
48/2 *(9+3)
you'll notice the brackets did resolve first. I never claimed to be a high school math expert. Go start tutoring if you're so smart.
On paper
48/2(12) = 2
and
48/2*12 = 288
I have bolded the parts you didn't read for your convenience.