From: Robert Klemme Date: 2011-12-05T03:14:29+09:00 Subject: Re: How to write a sorting program On Sat, Dec 3, 2011 at 3:16 AM, Ryan Davis wrote: > > On Dec 2, 2011, at 14:33 , Samuel Mensah wrote: > >>> Your teacher is probably a member of this mailing list. Why don't you >>> ask them for some help? >>> >>> cr >> >> I'm reading Chris Pine's book - Learn to program... that's where the >> assignment is from. I'm not sure I understand how he wants the program >> to look like... :/ > > Get some scraps of paper, number them, mix them up, and work through it manually until you like your solution. Samuel, if you need some idea of how sorting algorithms work you'll find plenty on wikipedia. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/