Numbers in Ascending Order

7,4,9,2,5
numbers need to be in ascending order:

Can any one help me in getting code for arranging in Ascending order.

Assuming an array of integers you need to lookup the sort method. Put
some effort into it and you’ll be rewarded by success.

Blog: http://random8.zenunit.com/
Twitter: http://twitter.com/random8r
Learn: http://sensei.zenunit.com/
New video up now at http://sensei.zenunit.com/
real fastcgi rails deploy process! Check it out now!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs