First of all on page 200 the sample output is wrong . Binary search is supposed to be arranged in AsCeNdInG order and they have given it all jumbled up. I have an exam tomorrow and had finished studying and was revising a couple of sums when I came across this and started panicking. After checking the program ten times I felt like I was about to cry. When finally my friend pointed out the order. I trusted this book too much. These kinds of mistakes in a school textbook is unacceptable.