I can't find the problm area in the following code (finding power of a number using user defined functions). : [code along with the outputstrong text][1]

The following code is not working. It has no errors, am doing some mistake in the logic i think. I am a newbie in programming and following is a very basic code, I want to find power of a number using functions. I kinda suck at functions. Please help me make this code work,I can't find the problem area.




  [1]: https://i.stack.imgur.com/a7d9o.png