Hi people!

I've been going through "the C puzzle book" by Alan R. Feuer

and i've come across something that doesn't seem right to me

but the book gives very little explantion so could somebody help me out?

The exercise is to find the value of x from this;

x=(7+6) % 5 / 2;

what i dont get is that the book says to solve it like this;

x=((7+6) % 5)/2 so x=1

but / is above % in the order of precedence so shouldn't it be

x=(7+6)%(5/2)

giving a completely different answear?

Have i just not thought this through right? Is my braining playing tricks on me?