在2D数组中交换firstRow和secondRow

时间:2017-01-12 20:03:13

标签: matrix

private int [ ] [ ] theMatrix;

//swapRows will snap firstRow and secondRow

public void swapRows (int firstRow, int secondRow)
{

}

我需要使用这些参数sos交换矩阵的第一行和第二行。上面的文字是我给我编写代码所需要的。

0 个答案:

没有答案
相关问题