How to Handle Matrix Operations and Pair Finding in C?

  • Thread starter Thread starter sulev8
  • Start date Start date
  • Tags Tags
    Assignment
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 3K views
sulev8
Messages
5
Reaction score
0
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 thanks in advance.
 
Physics news on Phys.org
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)?
 
CompuChip said:
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)?

maybe you can give me some more hints , I am still kinda in trouble with it
 
Write down step by step what you need to do.
Draw the storage as boxes on pieces of paper.
Think

Post back here