Everything else in check50 works, but my program can't find 42 in {40, 41, 42} and {39, 40, 41, 42}.
I don't think it's sort's fault, and I've implemented search in the correct way (I think, at least).
Here's my code,please help me out, it would be greatly appreciated!
// code deleted
And I have read many, many other questions and can't seem to find my solution there!