#include <iostream> using namespace std; int main() { for(int x=1;x<10;x++)//控制行数 { for(int y=1;y<=x;y++)//控制每行显示 cout<<y<<"*"<<x<<"="<<y*x<<"\t"; cout<<endl; } return 0; }