#include<iostream> using namespace std; #include<string> #include<ctime> int main() { //乘法口诀表 for (int j=1; j < 10; j++) { for (int i = 1; i <= j; i++) { cout << i << " * " << j << " = " << i * j << " "; } cout << endl; } system("pause"); return 0; }