I am trying to convert a binary search into a trinary search. I have to keep both functions in the program, and I cannot figure out how to continue on to the trinary search after the binary has completed.
It is just a function that searches for a user given number in a list. It is just like a modified binary search. The list is divided into 3 parts instead of 2.