On Tue, 19 Apr 2011 16:29:16 -0700, ai nguyen wrote: > A population of 20 cows, each one has age and weight (known). Device > this population into 2 group, each group has 10 cows. > > Questions: > How to pick a cow on each group so that a distribution of AGE and WEIGHT > on each group is similar. Show your strategy or/and implement it in > PERL.
Is this a question on a quiz or test you're taking? Do the people giving the test have the expectation that your answer is a measure of your abilities or those of people you've asked for help? How far have you gotten with a solution? Or if you're just posing a question as a challenge for people to exercise their brains, this would be better off in the Perl Quiz-of-the-Week list (which hasn't seen any traffic in aeons). -- Peter Scott http://www.perlmedic.com/ http://www.perldebugged.com/ http://www.informit.com/store/product.aspx?isbn=0137001274 http://www.oreillyschool.com/courses/perl3/ -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/