Thread: Help to solve this problem

  1. #1
    Registered User
    Join Date
    Apr 2002
    Posts
    3

    Unhappy Help to solve this problem

    Please help!!!

    Use a single subscribed array to solve the following
    problem. Read in 20 numbers, each of which is between
    10 and 100, inclusive. As each number is read, print
    it only if it is not a duplicate of a number already
    read. Provide for the "worst case" in which all 20
    numbers are different. Use the smallest possible array
    to solve this problem.

  2. #2
    Unregistered
    Guest
    dude wtf we are not going to just do all the work for you.

  3. #3
    Unregistered
    Guest
    a loop and a flag will solve a lot of programming problems.

  4. #4
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,130
    Romashka, we don't do homework assignments if you don't present a clue that you tried to solve it alone.

    Post a specific question you have with this problem.
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Solve This Problem Within 3 Hr Urgent Need
    By annum in forum C Programming
    Replies: 12
    Last Post: 10-04-2009, 09:56 AM
  2. problem solve
    By coolnarugodas in forum C Programming
    Replies: 7
    Last Post: 04-26-2005, 12:31 PM
  3. Replies: 2
    Last Post: 04-25-2005, 11:59 AM
  4. Bubble Sort / selection problem
    By Drew in forum C++ Programming
    Replies: 7
    Last Post: 08-26-2003, 03:23 PM
  5. problem cant solve please help.
    By sarah in forum C Programming
    Replies: 6
    Last Post: 09-03-2001, 01:32 PM