#include <iostream> using namespace std; void ss(int a,int b){ if(a<=9){ if(b<=a){ cout<<a<<" x "<<b<<" = "<<a*b<<" "; ss(a,b+1); }else{ cout<<endl; ss(a+1,1); } } } int main() { ss(1,1); return 0; }