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:
In reply to Re^3: Finding average using package subroutine
by toolic
in thread Finding average using package subroutine
by pinnacle
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |