5

What's 6/2(1+2)=???

• 4
You mean
(6/(2*(1+2)))?

• 5
9?
• 1
NULL
• 0
• 2
I would accept 1 or 9. It's often the case that implicit multiplication is of higher precedence than other division or multiplication, so things like '1/xy' is parsed as '1/(x*y)'
• 0
I'd say 1 (PEMDAS)
• 0
Calm down guys, @Dimmerworld just want to see fight us with each other. Lets keep harmony.

Btw ans is 1.
• 4
If I remember my maths correctly,, parentheses first then multiplication/division from left to right
6/2(3) = 3(3) = 9
• 0
The order of implicit multiplication in maths is NOT WELL DEFINED and subject to cultural conventions. For example, in Europe you would usually put brackets around the implicit multiplication, so a/bc becomes a/(b*c). Any smart mathematician would add brackets around any ambiguous operation.
• 2
First you calculate the () then by the rule you must calculate from left side !! So 6/2 which is 3 and 3x3 is 9! Or NULL when I wrote I like that in compiler
• 1
@Huuugo as far as I know, you can't have implicit brackets, only implicit multiplication. When two operations of the same precedence (like multiplication and division) meet, just evaluate from left to right.

The answer should be 9, there is no uncertainty. If the answer is not 9, the input was interpreted incorrectly
• 0
@heikomat since implicit multiplication is not the same as normal multiplication, it is not covered by the normal operator precedence. As I said, there is no definitive answer to this, because it's a regional convention
• 0
Error: 2 is not a function