This Question has been **Answered**

Featured Replies

- 2
n=4. 2^4= 2 * 2 * 2 * 2; 2 is multiplied four times. You can use a loop from 1 to n to multiply 2 to n times. now % is modulas operator which gives the remainder part i.e, a % b = R as a=b*d + R for … Read More

This question has already been answered. Start a new discussion instead.

Recommended Topics