Just another Perl shrine | |
PerlMonks |
Re: Adding and Multplying Elements in an Arrayby tcf22 (Priest) |
on Jun 18, 2003 at 01:34 UTC ( [id://266698]=note: print w/replies, xml ) | Need Help?? |
Since this is homework, I'm not gonna do it for you, but i'll give you a little hint. What value does $sum2 have before it enters the loop(or does it have a value). hmmm....
In Section
Seekers of Perl Wisdom
|
|