im not sure how to go about in doing. ive tried implementing some techniques ive seen but to no luck , they havent worked. Can anyone guide me to the right direction?
the user inputs lets say -2 for userMin and 2 for userMax and the program gets the various numbers inbetween and calculates them in the formula and stores them in arr2. im trying to find multiple occurrences of each value to get the mode.
ok ill look into it. Is there an easier method , im not familiar with map or that type of coding
Edit: also, if multiple values are repeated the same number of times, such as in my program , how would i do go about this?
well i tried a different method since im clueless with std::map, but it gives me the wrong output. would you mind checking it? Also, if there are multiples for mode, how can i display those values only?