Kth root problem

code: https://ide.codingblocks.com/s/150756
what is wrong in my code? please help

I have edited your code, you can basically use the inbuilt power function under cmath header file,
Now it is working fine.