Finding the mode of an array

This is a discussion on Finding the mode of an array within the C++ Programming forums, part of the General Programming Boards category; >This seems like the easiest solution: And just slightly inefficient if your set of numbers is: 1000, 2000, 3000, 3000, ...

  1. #16
    Registered User
    Join Date
    Oct 2001
    Posts
    2,934
    >This seems like the easiest solution:

    And just slightly inefficient if your set of numbers is:

    1000, 2000, 3000, 3000, 4000, 5000

  2. #17
    Shnakepup
    Guest
    Thankx, hk_mp5kpdw!!

    I guess it was just the way i was wording everything. I kept on re-writing stuff, and re-wording things. I might have found it eventually, but thanks anyway!

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Finding largest number in array
    By el_chupacabra in forum C Programming
    Replies: 2
    Last Post: 01-22-2009, 01:31 PM
  2. Finding array dimensions
    By deviousdexter in forum C# Programming
    Replies: 3
    Last Post: 11-12-2008, 09:34 AM
  3. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  4. Finding a hyphen in an array.
    By omnificient in forum C Programming
    Replies: 7
    Last Post: 06-17-2008, 02:31 AM
  5. Finding largest element in array
    By Chaplin27 in forum C++ Programming
    Replies: 2
    Last Post: 04-12-2005, 09:18 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21