int answer = ((int)(pow(a2,3) + pow(b2,3)) / 100) +

((pow(a2,3) + pow(b2,2)) % 100);

Fred <it****@cdw.com> wrote in message news:<pa****************************@cdw.com>...

I need to recreate the following formula in java:

INT((A2^3 + B2^3) / 100)) + MOD((A2^3 + B2^2), 100)

Can someone show me how to do this in java?

-Thanks