Please tell what is problem in my code and why it is not giving the correct output

https://ide.codingblocks.com/s/207821
here is the link to my code and please tell new corrected code and problem in my code

@harryson hey app starting me k ko k%length of ll krdo and ap woh k>length and k<length wali condition hta do you will get it.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.