Output error,result 101 when input is 100 1

@abhishek8181,
Where is the return statement in kth_root …??

my mistake,thank u it worked