Write a program to calculate the power of a number using recursion.
EasyProblem Statement
Write a program to calculate the power of a number using recursion.
Sample Input
Base: 2, Exponent: 3
Sample Output
Result: 8
Limits
Time: 2s · Memory: 256 MB
Write a program to calculate the power of a number using recursion.
Base: 2, Exponent: 3
Result: 8
Time: 2s · Memory: 256 MB