Got it wrong !

Its weird... People put brackets in... No it does brackets first. 12/2x6 if you write 12 / (2x6) you introduced more to the sum. Calculators run left to right I remember BODMAS Then they said BOMDAS.. then they said BIDMAS now its PEMDAS... BUT when helping my 12 year old grandson school said no.

a-b+c is a-b then add c... Its is obviously said that b+c then a - total... XXXX wrong... Go figure
 
Reverse Polish don’t need no stinkin’ brackets.

And 2^2^2 is ambiguous

What about RTL languages? Math is an exception and is done LTR
 
Last edited:
My theory is coders would see the equation as 12 / (2x6); whether the Parentheses were there or not.
 
My theory is coders would see the equation as 12 / (2x6); whether the Parentheses were there or not.
The theory from Wikipedia is that people know to add parenthesis or not based on the context of the discussion and these meme equations are simply "gotcha" games. Note also that each calculator (from photo in the margins of the Wikipedia link) will give different results.
 
My theory is coders would see the equation as 12 / (2x6); whether the Parentheses were there or not.
No, I code, and would read it the correct way, with the answer 36. If there was any doubt, I'd stick brackets round the first part as it should be evaluated left to right.
 
Whilst it is possible to get the correct result using the BODMAS mantra, my own opinion and what I use in practice is to put brackets to remove any ambiguity.

JimB
 
Compare with the statements:

Eats shoots and leaves

Let's eat grandma

Depending on punctuation, the meanings can be completely different.

JimB
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…