Re: TWO loops and ONE if statement On 07/03/2007 02:53 AM, Amichai Teumim wrote:
> Hi guys
> 

Hello Amichai.

> [...]
> I need to sort the @array from lowest to highest using TWO loops and
> ONE if statement. That's why it's so confusing.
> I could use a one liner to do all this. I need to do it however as
> above mentioned.
> 
> How can I do this?
> 
> Thanks for all your help
> 
> Amihai
> 

Your teacher wants you to figure out how to do a bubblesort.
(That's a hint.)


-- 
To unsubscribe, e-mail: beginners-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/


