View Single Post
 
Old 12-15-2006, 03:11 AM
Adrian's Avatar
Adrian Adrian is offline
Senior Member
It's my post
 
Join Date: 31 Oct 2002
Location: Wisconsin, USA
Age: 35
Gender: male
Posts: 4,805
Default

Thanks. The professor was pretty specific that the bubble sort could be adapted...I don't know though.

The 2D array (it may contain numbers or strings) should be run through the sort, and come out with the first element sorted in ascending order, the second element organized on the first element. So:
1-2
3-4
2-3
4-5
would come out:
1-2
2-3
3-4
4-5
Thanks much! I really appreciate it.

Adrian
__________________


What Part Of My Body Hurts The Most
What part of my soul is crying
For crying out loud
What part of my heart is beating
Faster than the speed of love
Is this the way that it's supposed to be
What Part Of My Body Hurts The Most
Come a little bit closer
Come here now
Let's see
Reply With Quote