average : Java Glossary

average
You might think about the simplest coding task in the world would be to compute the average of two positive integers, rounded The catch is as you can see from the program, some very simple code to compute the avarage sometimes fails.

Alternates

Mathematicians have come up with a number of ways of computing the average of a list of numbers besides adding them up and dividing by the number of elements. Here is code to compute some of the variants:

available on the web at:

http://mindprod.com/jgloss/average.html
ClustrMaps is down

optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\average.html
logo
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy.
Blog
IP:[65.110.21.43]
Your face IP:[23.20.33.176]
You are visitor number 7,277.