Write a program that uses pointers to type double variables to accept 10 numbers from the user, sort them, and print them to the screen.
This is pretty tricky. The question says "pointers to type double variable", but it don't anywhere say "pointers to type double array. Which is what is this
As you can the each elements of array hold an starting address of an array of doubles. If you are trying to sort that sort of an array its completely a different approach. You got to do more than what sort methods you have followed. You should consult your professor to make sure what he is expecting.
Well, at least i understand that from the question. Please correct if am wrong.
ssharish.
Last edited by ssharish2005; Jul 10th, 2008 at 12:51 pm.
No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.