//Binary Search on array of 6 names //uses while, strcmp, cin.getline, string, arrays #include #include using namespace std; #include void search(string names[], int year[], int count) { string lookfor; cout<<"Enter the name to look for:"; getline(cin,lookfor); int found=-1; int low=0; int guess; int high=count; while (low<= high && found==-1) { guess=(low+high)/2; if (names[guess]==lookfor) found=guess; else if (names[guess]