Re:6÷2(1+2)=?
by beatgammit on Sunday March 17, 2013 @07:50PM
(#5391633)
Right, but you also had to explicitly add the asterisk for multiplication. I thought the same thing, but the remarks on juxtaposition do have a point. For example, if an integer were callable, you'd do the function call--2(2+1)--independantly of the division.
float x = 6 / 2 * (2 + 1); // x == 9