Lately, equations such as X=8/2(2+2) have begun being presented on social networks as "very hard problems that will divide the audience just like the striped dress optical illusion".
Of course, most of people coming at different results are blindly following the BODMAS or PEMDAS mnemonic incorrectly, saying that multiplication always goes before division or the opposite, where in reality most sources I've found say "multiplication and division" and "addition and subtraction" are single steps.
I thought those were easy to disprove, but then someone stated that the "left to right" rule is only spelled out for sums and subtractions, and not for multiplication and division, and people writing expressions always needs to use parentheses or horizontal fracional bars to disambiguate an otherwise unknowable order, making 8/2*2=?
Someone else said that implicit multiplications like 2(2+2) must be done first, and that 8/2*(2+2)=4*4=16 but 8/2(2+2)=8/2(4)=8/8=1.
Is there a true consensus on what the correct order is?
p AND q OR r
but I seep && q || r
all the time at work. – JMoravitz Aug 06 '20 at 19:01