Ranter
Join devRant
Do all the things like
++ or  rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power realtime personalized recommendations and activity feeds using a simple API
Learn More
Comments

DrEmann2763yI 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)'

theGOD9263yCalm down guys, @Dimmerworld just want to see fight us with each other. Lets keep harmony.
Btw ans is 1. 
If I remember my maths correctly,, parentheses first then multiplication/division from left to right
6/2(3) = 3(3) = 9 
Huuugo26063yThe 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.

Haxk20449573yFirst 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

heikomat7043y@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 
Huuugo26063y@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
What's 6/2(1+2)=???
undefined
trick question math