BinarySearch Statement Step

A BinarySearch statement uses a loop variable to search over a continuous interval by selecting the middle element in the interval, thus progressively closing in on a sought value.