How to find unrepeated number ?

Discussion in 'Programming' started by xiaoxiang, Jul 16, 2008.

  1. #1
    How to find unrepeated number ?
    for example 1,2,2,3,4,4,5,6

    output 1 3 5 6

    help me if u can...plese it is Urgent for me
     
    xiaoxiang, Jul 16, 2008 IP
  2. EgyptGuy

    EgyptGuy Peon

    Messages:
    167
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    with which language you can code ? let me parse some for you

    put this numbers into array and just make loop with if condation



    hope this help you ;)

    Thanks
    EgyptGuy
     
    EgyptGuy, Jul 18, 2008 IP
  3. zerxer

    zerxer Peon

    Messages:
    368
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Why should we do your homework for you? This is clearly for some programming class.
     
    zerxer, Jul 18, 2008 IP
  4. EgyptGuy

    EgyptGuy Peon

    Messages:
    167
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ouch you are right we should not do your homework New Peon :D , anyway there is also .net class make this easy but what i have wrote this is from scratch ;;)

    hope you to learn not just copy it

    EgyptGuy
     
    EgyptGuy, Jul 18, 2008 IP