All Questions
Tagged with do-while binary-search
1 question
0
votes
1
answer
33
views
Do While loop not executing for pset3
I am working on Pset3 for a binary search algorithm. Below is my code (NOTE: the logic is not finished):
bool search(int value, int values[], int n)
{
//binary search algorithm
int min = 0;
int max = ...