Question: please add comments as much as possible and please dont use varibales more than 7 characters ex SortSelection this wrong make only 7characters only SortSe

please add comments as much as possible and please dont use varibales more than 7 characters ex SortSelection this wrong make only 7characters only SortSe and use my templet as start if yoy want

7. Binary String Search Modify the binarySearch function presented in this chapter so it searches an array of strings instead of an array of ints. Test the function with a driver program. Use Program 8-8 as a skeleton to complete. (The array must be sorted before the binary search will work.)

#include #include using namespace std; int main() { } const int NUM_NAMES = 20; string names[NUM_NAMES] = {"Collins, Bill", "Smith, Bart", "Allen, Jim", "Griffin, Jim", "Stamey, Marty", "Rose, Geri", "Taylor, Terri", "Johnson, Jill", "Allison, Jeff", "Looney, Joe", "Wolfe, Bill", "James, Jean", "Weaver, Jim", "Pore, Bob", "Rutherford, Greg", "Javens, Renee", "Harrison, Rose", "Setzer, Cathy", "Pike, Gordon", "Holland, Beth" }; // Insert your code to complete this program return 0;please add comments as much as possible and please dont use varibales

Fle Edi. v Navigte Source Rfactor Run Deg Proe Team Tools Win Hep 1 Ga1%_A h!_c.mener Autho 2 Declsre rariables here input 32 Prevkus aSeect O lype hene to search 2018

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!