Originally Posted by shabbir
Don't you think i<(count-1) will not loop through all the elements.
Thanks , I have added that . Yup I guess you are right . But still the problem persist I am trying also to implement what Dawai has said to me in next post.