Doubt regarding recursive binary search

I was trying recursive binary search can you please let me know the mistakes in my code


it is not giving the correct output

Hey @av8055
there were many errors ,so I have rewritten it in proper way