This works fine...the size of the array is just 7.
// item = search item int bin(int arr[], int item, int startIndex, int endIndex) { if(startIndex <= en