write a program to find the value of one number raised to the power of another in java code example Example: how to find powers in java int n=Math.pow(N, P);