Computer Science, asked by pratimaraj, 3 months ago

write a program to input a number of 2 digit and display power value taking first digit as base and second digit as an exponent using methods of math class​

Answers

Answered by BharathBangaram
2

Answer:

The program below takes two integers from the user (a base number and an exponent) and calculates the power.

For example: In the case of 23

2 is the base number

3 is the exponent

And, the power is equal to 2*2*2

Similar questions