Hi do any expert/programmer know how can I compare the same row with same column to derive the maximum value? For examples, column 1 will be comparing with row 1, column 2 will be comparing with row 2, column 3 with row 3 and so on... I did some c++ coding but it didn't works. I guess I do not know yet to use what method for comparing same column and same row together, what code can ensure this? By the way, my error is I have a 5x5 array, my first to fourth looping manage to get the correct maximum value. How ever, for the last, 5th position which is comparing array with , I got the correct maximum value but did not manage to get the correct position  of the maximum value. Thanks.