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

Re^3: Finding average using package subroutine

by toolic (Bishop)
on Aug 09, 2011 at 16:50 UTC ( [id://919505]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Finding average using package subroutine
in thread Finding average using package subroutine

Where am I going wrong?
You didn't describe the problem you are having. When I run your code, it seems to work fine for me. If I input the values 2 and 8, it correctly prints a result of 5.

You'll be better off in the long run if you:

  • Comment on Re^3: Finding average using package subroutine

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-25 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found