返回列表 發帖
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. int main()
  5. {
  6.     int hh[4][3]={{1,2,3},{4,5,6},{7,8,9},{10,11,12}};
  7.     for(int i=0;i<4;i++)
  8.        {
  9.             for(int j=0;i<3;i++)
  10.                {
  11.                     cout<<hh[i][j];
  12.                }
  13.             cout<<endl;
  14.        }
  15.     cout<<endl;
  16.     }                             
  17.     system("pause");
  18.     return 0;   
  19. }
複製代碼

TOP

返回列表