|
|
| We don't bite newbies here... much | |
| PerlMonks |
Re: Counting positive numbersby JavaFan (Canon) |
| on Jul 05, 2010 at 12:13 UTC ( #848052=note: print w/ replies, xml ) | Need Help?? |
|
I don't understand your example. In my book, 5 + 2 + 3 + 4 equals 14, why is the desired output 14? As for an example of a short program, I may go for: But that's probably not the shortest.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||