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

TOP

返回列表