Posted: Sat Mar 08, 2008 10:21 pm Post subject: Putting things in order...
Okay my friend asked me to help with his program. He's doing this to keep track of scores in a betting hockey pool. basically each person picks players and gets points for how well they played. at the end He wants people arranged in order of their points, first to last. And i cant figure it out .
can any fixthe program/tell me how?
If there's an really simple solution to this, i dont know what it is so blame my teacher.
Posted: Sat Mar 08, 2008 10:30 pm Post subject: Re: Putting things in order...
Won't sorting help?
If it does, use a procedure that given the array (or whatever you want to sort), it sorts it for you.
You can use Bubble sort for yours (as it isn't too big)