View Single Post
Go4Expert Member
8Mar2012,07:38  
won212's Avatar
Hi for example I wanted it to print the maximum value as well as the the position.

For example, this is my 5x5 matrix.

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

To compare 1st row with 1st column and as follow,

my result should shown:

[4][0] - 21
[4][1] - 22
[4][2] - 23
[4][3] - 24
[3][4] - 24, it should have printed [4][3].