Answered You can hire a professional tutor to get the answer.

QUESTION

create the program in such way that there is no limit on the number of names to be handled.

create the program in such way that there is no limit on the number of names to be handled.

1) Read in names to sort until the user types the "enter" key as the first character of a "C-type" string (the maximum number of names is 20, there is not a maximum length to a name), using a two dimensional array of characters.

2) After sorting and displaying the array of "C-type" strings, ask the user for "Ctype" string to search for (again, no maximum length).

3) Do binary search to find if the "C-type" string is in the array

4) If the "C-type" string is in the array, tell the user the index of the "C-type" string.

5) If the "C-type" string is not in the array, tell the user that it is missing.

6) Repeat items 3 thru 5 until the user enters the "enter" key as the first character of the "C-type" string, at which time the program will complete.

Please write the code for c programming

copy of the .c and .h files in the project folder as created by Visual Studio.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question