* This program inputs ten integers and
* displays the mode using parallel arrays.
* Use a method to calculate the mode.

This is my specs. I cannot figure out a solution as to how to find the mode using only two arrays. Help would be gratefully appreciated

I guess the "parallel arrays" 1 & 2 contain (1) each value that occurs in the source data and (2) the number of times that values appears. Then you can search (2) for its max and get the corresponding value from (1)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.