#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; }
标签:std,int,void,99,ss,乘法表 From: https://www.cnblogs.com/guoliheng/p/17674566.html