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