Computer Science Canada

MeasureType

Author:  gamer123 [ Fri Jun 10, 2005 9:13 am ]
Post subject:  MeasureType

ok for this assignment i gota find mean, median, mode of and array. i got the mean and median to work, however mode is alittle tricky since there can be more than one mode (or even as many as the # of entries)


then i found something called MeasureType in java, which seems to be the right thing.........but i hav no idea how to use it

"MODE
Mode ("Mode")"

how the heck do i use this? i'll be appreciated if someone can gimme a hand

NumberOfEntries=15
sortedXArray[NumberOfEntries]

link: http://www.edustructures.com/dev/javadoc/com/edustructures/sifworks/dw/MeasureType.html

Author:  gamer123 [ Fri Jun 10, 2005 7:52 pm ]
Post subject: 

please help

bump

Author:  wtd [ Fri Jun 10, 2005 7:56 pm ]
Post subject: 

Perhaps you could tell us exactly what you're trying to do. Be warned, though, that we will not do your homework for you. Smile

Author:  gamer123 [ Fri Jun 10, 2005 10:18 pm ]
Post subject: 

well again i found the measureType thing in the java site, i believe its a class? my question is, how do u use it? cause i hav no idea what the api is talking about


i just need some example or explanation so i can see how it works

Author:  wtd [ Fri Jun 10, 2005 10:46 pm ]
Post subject: 

Honestly I don't see much point in it at all, so I'm not sure how to explain the point.


: