From: Axel Etzold Date: 2008-08-16T06:48:37+09:00 Subject: Re: im new... so can i have some help Dear Daniel. > im new to ruby...... and i need some help! welcome to Ruby. You'll find help on this list :) > im trying to make a quick app that takes an array of #'s > puts them into a specific order ( i thik ill use the method "list" for > that?" Use sort for that ( http://www.ruby-doc.org/core/classes/Array.html#M002208) > and gets the mean, median and mode of the array of numbers? There's Array#inject for summing, median is the middle of the sorted Array, and modes are elements that are equal to Array#max. I'd suggest you go through Chris Pine's little tutorial for Ruby: http://pine.fm/LearnToProgram/ or, if you have some love for comics ... and more time ... http://poignantguide.net/ruby/ to get an impression of the language. Also, there are many quizzes for Ruby with different solutions to a problem: http://rubyquiz.com/ And of course, many excellent books, and readily written software packages (in your case, search e.g., for the statistics2 package on the RAA (Ruby Application Archive). Best regards, Axel -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx