help in array

This is a discussion on help in array within the C++ Programming forums, part of the General Programming Boards category; hello, i wanna make a program with array the 1st program: print on the screen 1 5 2 3 3 ...

  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
    460
    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, 03:31 PM
  2. Replies: 9
    Last Post: 04-07-2010, 11:03 PM
  3. Replies: 1
    Last Post: 10-21-2007, 08:44 AM
  4. Replies: 6
    Last Post: 11-09-2006, 03:28 AM
  5. Replies: 1
    Last Post: 04-25-2006, 01:14 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21