On 10/2/07, anand <[EMAIL PROTECTED]> wrote:
> My array has more than 40 values & my original code is very complex
> involving many other operations which might have confused you much
> more than this piece has!So i gave this code just as an example.My
> original code is taking care of sorting & i did omit that part here to
> make it simple.
>
> In the example above,yes i know the expected output but i want to make
> it a generalized program for any number of elements in an array.
OK, well, seeing how things are getting sorted would be helpful, and
seeing how you are keeping track of the array indexes when you sort
them as well. Provide the smallest amount of code exhibiting the
problem (including the sorting).
-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi