Computer Science, asked by Anonymous, 9 months ago

You are given two numbers n and p. You need to find n raised to the power p. java

Answers

Answered by 2110
0

Answer:

you may use this mathematical function

here i am assuming a variable sq to store square

double sq = Math.pow( n,p);

hope it helps

plss mark as brainliest

Similar questions