void func2(int n) { // input condition: n >= 0 if (n > 0) { func2(n-1); func2(n-1); } else cout << "hello world" << endl; }