News for hackers. Stuff that matters.
Re:6÷2(1+2)=? by StevenXC on Sunday March 17, 2013 @07:22PM (#5391537)
The question is taken from a Facebook post making the rounds. The parentheses are important however, as they introduce a new ambiguity: does the implied multiplication from the open parenthesis trump the division symbol on the left?

Put another way, does it fall into the Parentheses section or the Multiplication section of the PEMDAS order of operations? (Or whatever mnemonic your country uses.)

Re:6÷2(1+2)=? by Aloisius on Sunday March 17, 2013 @11:51PM (#5392330)
Why would the multiplication fall in the parenthesis section when it clearly isn't in a set of parenthesis? 6÷2(1+2) expands to 6÷2*(1+2). The items inside the parenthesis first and there should be no ambiguity about that.