#include<iostream> using namespace std; int main(){ int x=1,y=1; for(;x<=9;x++){ for(;y<=x;y++) cout<<y<<"*"<<x<<"="<<y*x<<" "; y=1; cout<<endl; } return 0; }