News for hackers. Stuff that matters.
Re:6÷2(1+2)=? by ulyssesgrant on Sunday March 17, 2013 @07:23PM (#5391542)
In high school (and college) I've always been taught that multiplication and division have equal precedence and should be evaluated in the order in which they are encountered.
Re:6÷2(1+2)=? by baddox on Sunday March 17, 2013 @07:27PM (#5391567)
Was multiplication by juxtaposition ever mentioned explicitly? I was taught to give them equal precedence, but that was explicitly for the division symbol and the multiplication symbol (* or x). Juxtaposition, like 2x or 2(2+1), was always considered to have greater precedence than the division and multiplication symbols.
Re:6÷2(1+2)=? by Semaphor on Monday March 18, 2013 @05:22AM (#5393199)
Nope, never heard that in my 13 years of school in Germany.