Thread: Finding the mode of an array

  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!

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, 02:31 PM
  2. Finding array dimensions
    By deviousdexter in forum C# Programming
    Replies: 3
    Last Post: 11-12-2008, 10: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