On 4/20/11 Wed  Apr 20, 2011  12:31 PM, "ai nguyen" <aichuab...@gmail.com>
scribbled:

> On Apr 20, 5:28 am, shawnhco...@ncf.ca (Shawn H Corey) wrote:
>> On 11-04-19 07:29 PM, 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.
>> 
>> What code do you have so far?

> 
> I have yet code it. I just try to understand the problem first. Does
> anyone has any ideas?

Yes. Ask your instructor.

Is this a homework question?

The purpose of this mailing list is to discuss Perl and Perl-related issues.
You won't be able to start a Perl implementation to solve your problem until
you understand your problem. None of us can help you with that, because only
you know the circumstances that went into formulating the problem. We would
just be making assumptions.

Maybe this is a homework problem. Maybe you work at a dairy farm being
subdivided into two farms. The conditions of your problem will affect the
optimum solution.

Once you understand the problem, you can discuss how the solution might be
implemented using Perl.

However, if this is an exercise to help you learn Perl programming, we would
not be doing you a favor by providing you with a solution. It will be much
better if you first try to solve the problem on your own and only ask
questions if you cannot do what you want using Perl.

Good luck.



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


Reply via email to