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

TOP

返回列表