Binary_Search_help

what’s the mistake ?

in line 17 instead of n, m would come