Easy
Recursive Power
Write a recursive
power(b, e) for e ≥ 0 without using **.Input
Two integers b and e.
Output
b^e
Sample 1
Input
2 10
Output
1024
Sample 2
Input
5 0
Output
1
Output appears herepower(b, e) for e ≥ 0 without using **.Two integers b and e.
b^e
2 10
1024
5 0
1
Output appears here