#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2013
    Posts
    1
    Rep Power
    0

    How to find middle element in array


    How to find middle element in array
  2. #2
  3. Lord of the Dance
    Devshed Expert (3500 - 3999 posts)

    Join Date
    Oct 2003
    Posts
    3,575
    Rep Power
    1906
    Yo know the number of elements in the array? then divide that number by 2. (rounded if odd)
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Oct 2009
    Location
    Nebraska, USA
    Posts
    862
    Rep Power
    275
    "How to find middle grain of sand in a sandbox"

    See, I can do that, too.

    Either, give more info about what you're after [incl. some code], or have your post considered as SPAM.

IMN logo majestic logo threadwatch logo seochat tools logo