1-k%2*2
Due to operator precedence, the order of evaluation is %, *, -; so no parentheses are necessary. (Both % and * have the same precedence, so % is evaluated first because it is to the left of *.)
Edited on January 27, 2008, 11:43 am
|
Posted by Kurious
on 2008-01-27 11:36:52 |