C++實現打印99乘法口訣表

  #include <iostream> #include <string> using namespace std; int main() { int i; int j; for(i=1;i<=9;i++){ for(j=1;j<=i;j++){ cout << i << "*" << j << "=" << i*j << "\t";
相關文章
相關標籤/搜索