Binary search lab

Fix the bug

The target is in a two-value array. Why does the search keep missing it? Follow the bounds, change one line, then put your repair to the test.

Diagnose

Run the broken search

Find 7

index 03valuelow
index 17valuehigh

Start with low = 0 and high = 1. Step through one comparison at a time.