返回列表 發帖
本帖最後由 黃子豪 於 2023-1-6 20:27 編輯
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5.    
  6.     for(int i=1; i<=9; i+=1){
  7.             for(int j=1; j<=9; j+=1){
  8.                     cout<<i<<"*"<<j<<"="<<i*j<<"\t";
  9.             }
  10.             cout<<endl;
  11.     }
  12.    
  13.     cout<<":)"<<endl;
  14.    
  15.     system("pause");
  16.     return 0;
  17. }
複製代碼

TOP

返回列表