I need help with Problem 4 from PS4. I cannot figure out what my if statement should be in the binary search. If I do the problem manually, knowing the answer it's easy as I know when to assign the guess from low to high. I get the correct answers for parts 1-3, so I know that's not the issue.

See more answers at brainly.com

Looking for something else?

Not the answer you are looking for? Search for more explanations.