http://qs1969.pair.com?node_id=1214249


in reply to why the value of count will be change?

I do not see any calling program for subs: total() and average().

Can you show a calling program and also the data?