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

 

posted on 2023-09-03 09:01  爱吃泡面的皮卡  阅读(11)  评论(0编辑  收藏  举报