klasscho

Untitled

Nov 28th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. procedure FindMax(const Matrixx: MatrixType; n: Integer);
  2. var
  3. Max, iMax, jMax, i, j: Integer;
  4. begin
  5. Max := Matrixx[0][0];
  6. iMax := 0;
  7. jMax := 0;
  8. for i := 0 to n do
  9. for j := 0 to n do
  10. if (Matrixx[i][j] > Max) then
  11. Max := Matrixx[i][j];
  12. iMax := i;
  13. jMax := j;
  14. end;
Advertisement
Add Comment
Please, Sign In to add comment