Java program to calculate power of a number
Answers
Answered by
0
Explanation:
In this program we are calculating the power of a given number using for loop. Here number is the base and p is the power (exponent). So we are calculating the result of number^p.
Hope it's help you.
plz mark as brainlist.
Attachments:
Similar questions