Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~284 People Reached
Favorite Tags
Member Avatar for supergeek60

Does anyone know how to write a (preferably) console app that would find the modal value of a set of data that you entered?

Member Avatar for supergeek60
0
92
Member Avatar for helixkod

Current Code: [CODE] void findMode(int *array, int size) { int array2[size]; int count; int x; int mode = 0; for (count = 0; count < size; count++) { x = array[count]; array2[x] = array2[x]++; } for ( count = 0; count < size; count++) { if (array2[count] > mode) mode …

Member Avatar for supergeek60
0
192