Hello.
I have the following problem: given a matrix V (n, m). Reverse the order of the matrix in two rows where amount of numbers are maximum and minimum (in the lines). Print matrix before and after modification.
Given:
5 6 "- these are numbers of rows and colums"
12 -25 45 2 8 10
-2 -6 15 13 55 -9
14 15 -5 -9 -8 19
-1 -2 -3 -4 -5 -6
8 9 9 9 5 2
I need only parts were you are counting min and max in the lines and how to change these lines in matrix. Sorry for mistakes. Thanks for your reply.



LinkBack URL
About LinkBacks


