Help with binary search

Solved ty!
Last edited on
Your array is in descending order. Swap the statements for < and > conditions.
ah got it thank you!
Last edited on
No... swap lines 56 and 60.
Topic archived. No new replies allowed.