in reply to
Average/mean calculator
Suggestions:
perlintro
Store your numbers in an array (
@numbers
) using
push
Use
Scalar::Util
looks_like_number
Use a loop to collect from STDIN, and use
chomp
.
Comment on
Re: Average/mean calculator
Select
or
Download
Code
In Section
Seekers of Perl Wisdom