Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Re: "Junkyard" Puzzle: Average of Numbers

by mr.nick (Chaplain)
on May 13, 2001 at 08:15 UTC ( #79993=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub find_avg { 
      (eval join"+",@{$_[0]})/(($#{$_[0]})+1); 
    } 
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://79993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2016-10-01 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (579 votes). Check out past polls.