Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- For row = 1 To numberOfRows
- For col = row + 1 To numberOfCols
- tempToMove = table(row, col)
- table(row, col) = table(col, row)
- table(col, row) = tempToMove
- Next col
- For newRow = 1 To numberOfRows - 1
- If table(newRow, row) > table(4, row) Then
- table(4, row) = table(newRow, row)
- End If
- Next newRow
- Next row
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement