Sorry! of course, its a bit long, but I got the answer I needed. Just a bit of maths.

Instead of doing modulus 33...

I used a float, say float num1, and found pow(28,7)
I then divided it by 33,
I then assigned this answer to a long/int, which automatically trunicates it, say long num2
I then again assigned it back to a float, and multiplied this float by 33. say float num3
Then i did num1 - num3
which give me the same answer as pow(28,7)%33 should have given me.

Not the best at explaining!