Please learn for FORMAT your code . It is very difficult to read, and if we can't read it, most of us will skip your posts.
Wouldn't it be better to print the average after it's calculated rather than just before?
WaltP
Posting Sage w/ dash of thyme
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944