this is my code for the top part
{
for (int i = 0; i < n; i++)
{
if (values[i] == value)
{
return true;
}
else
{
return false;
}
}
return 0;
}
It compiled when I typed make all. However, when I try testing the code with the CS50 example which was supposed to work every time, it returned false.