Quote:
Originally Posted by donna1
why do you keep talking about more than half?
as i pointed out earlier the Mode isnt always as common as half the elements
Dominant number is not actually a known mathematical term so i assume he ment mode?
|
Not so.
http://stackoverflow.com/questions/9...er-in-an-array
A real number in the array is called a decimal dominant if it occurs more than n/10 times in the array.
But I am not sure what the practical use of this.
__________________
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
Last edited by Philip M; 12-02-2012 at 12:43 PM..
|