Why should it be 8?

#+ and #/ have the same priority and they will be evaluated from left to right.

Cheers,
Doru


On 18 Jan 2011, at 12:29, Noury Bouraqadi wrote:

> 5 is the surprising answer of the expression:
> 6 + 4 / 2 
> 
> It should be 8
> But, I got 5 in both 1.1 and 1.2.
> 
> Noury 
> 
> 

--
www.tudorgirba.com

"The coherence of a trip is given by the clearness of the goal."





Reply via email to