Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 exploiting the Monastery: (3)
As of 2015-08-30 01:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (346 votes), past polls