Find Power of any Number in C++

Output :

Enter base and power: 2  3
Power is : 8