#include <iostream>
#include <stdio.h> 
using namespace std;
void f(int x){
if(x>0) printf("%d",x);
    if(x>0) return f(x-1);
}
int main(int argc, char** argv) {
// printf("%d",f(9));
f(9);
return 0;

}


用递归输出9~1这些数字

相关文章: