返回列表 發帖
#include <iostream>

using namespace std;

int main()

{      

   for(int i=1; i<=9; i++)     //巢狀迴圈

   {

      for(int j=1; j<=9; j++)

         {

            cout<<i<<"*"<<j<<"="<<i*j<<"\t";

         }

      cout<<endl;

   }

system("pause");

return 0;     

}

TOP

返回列表