Advertisement
Guest User

Untitled

a guest
Nov 13th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.46 KB | None | 0 0
  1. For row = 1 To numberOfRows
  2.             For col = row + 1 To numberOfCols
  3.                 tempToMove = table(row, col)
  4.                 table(row, col) = table(col, row)
  5.                 table(col, row) = tempToMove
  6.             Next col
  7.             For newRow = 1 To numberOfRows - 1
  8.                 If table(newRow, row) > table(4, row) Then
  9.                     table(4, row) = table(newRow, row)
  10.                 End If
  11.             Next newRow
  12.         Next row
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement