0

I'm working on a school assignment right now,

( populate an array of 50 elements with random integers ranging from 50-100,

find mean, mode, standard deviation and the number of elements that fall within the standard deviation)

I've written working code for everything except for the function that finds the mode (most recurring number). can you please point me in the right direction in finding the mode?

I've tried a number of ways, none of which seem to get me very far.