Thread: help in array

  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    9

    help in array

    hello,

    i wanna make a program with array

    the 1st program:

    print on the screen

    1 5
    2 3
    3 2


    the 2nd program:

    is about search in array

    like
    if the user entered x=14 cout<<notfound in array
    or x=2 found in location 2

    and thank u

  2. #2
    -bleh-
    Join Date
    Aug 2010
    Location
    somewhere in this universe
    Posts
    463
    At some point you will have to form a question. For the sake of getting you started, use a loop.

  3. #3
    Registered User
    Join Date
    Oct 2010
    Posts
    9
    i need a code

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 9
    Last Post: 08-23-2010, 02:31 PM
  2. Replies: 9
    Last Post: 04-07-2010, 10:03 PM
  3. Replies: 1
    Last Post: 10-21-2007, 07:44 AM
  4. Replies: 6
    Last Post: 11-09-2006, 03:28 AM
  5. Replies: 1
    Last Post: 04-25-2006, 12:14 AM