Thread: 2D Array manipulation

  1. #1
    Registered User
    Join Date
    Aug 2011
    Posts
    1

    2D Array manipulation

    Hello and thanks for reading . I want to manipulate a 2D array col 1 by multiplying col 0 by an arbitrary number and store in col 1.

    I was was able to generate a 2X2 array. for Example 2 3
    2 1
    result should be 2 6
    2 2


    problem :

    how do you go about transforming col 0 into col 1 using for Loop ?

  2. #2
    Registered User
    Join Date
    Jun 2005
    Posts
    6,815
    I suggest you do your own homework.

    First, this forum has a Homework Policy which states essentially "Don't expect others to do your homework for you". Second, your question is so elementary that, even if people just gave hints, they would be doing your homework for you (refer my first point).
    Right 98% of the time, and don't care about the other 3%.

    If I seem grumpy or unhelpful in reply to you, or tell you you need to demonstrate more effort before you can expect help, it is likely you deserve it. Suck it up, Buttercup, and read this, this, and this before posting again.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. array manipulation (shifting data)
    By jeanluca in forum C Programming
    Replies: 11
    Last Post: 06-27-2009, 03:51 AM
  2. Array manipulation Question
    By JJJIrish05 in forum C++ Programming
    Replies: 20
    Last Post: 03-08-2008, 12:58 PM
  3. help needed with array manipulation through user input
    By priorityversion in forum C++ Programming
    Replies: 5
    Last Post: 02-02-2008, 11:48 PM
  4. Array manipulation.
    By genjiguy in forum C++ Programming
    Replies: 8
    Last Post: 05-20-2005, 09:14 AM
  5. Loading an Array for manipulation
    By reRanger in forum C++ Programming
    Replies: 2
    Last Post: 11-22-2004, 07:59 AM