1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Can anyone help me with this assignment

  1. Oct 18, 2008 #1
    Enter integer rectangle matrix A(0..n,0..m). Give out entered matrix by columns. Find all element pairs with equal value and their index and give them out.

    I have to write c programm for this , can anyone make the body of this exercise and share some instructions how i should approach to this kind of exercise.
    Many thx in advance.
  2. jcsd
  3. Oct 18, 2008 #2


    User Avatar
    Science Advisor
    Homework Helper

    Welcome to PF sulev. Note that on PF we don't give answers, just hints. For me it is easy to produce such a program but if I just give it to you then you probably won't be able to solve a similar assignment yourself next time.

    Have you learned about arrays? Also, two dimensional arrays (http://www.eskimo.com/~scs/cclass/int/sx9.html)?
  4. Oct 18, 2008 #3
    maybe you can give me some more hints , im still kinda in trouble with it
  5. Oct 19, 2008 #4


    User Avatar
    Science Advisor
    Homework Helper

    Write down step by step what you need to do.
    Draw the storage as boxes on pieces of paper.

    Post back here
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?

Similar Discussions: Can anyone help me with this assignment
  1. Can anyone help (Replies: 3)