問答題編寫一個方法顯示n*n的矩陣,矩陣的每個元素隨機產(chǎn)生為0或者1,并寫一個測試程序打印3*3的矩陣,方法頭如下:public static void printMatrix(int n)

您可能感興趣的試卷