446,232 Members | 1,733 Online
Need help? Post your question and get tips & solutions from a community of 446,232 IT Pros & Developers. It's quick & easy.

recursive function help (pls)

 P: n/a Hello All, this is my first post. OK - The goal is to display the following (note: substitute 1' ' for 2'*') by using 3 recursive functions. 0123454321001234543210 **012343210012343210** ****01232100123210**** ******0121001210****** ********010010******** **********00********** **********00********** ********010010******** ******0121001210****** ****01232100123210**** **012343210012343210** 0123454321001234543210 Obviously, I'm having trouble with the exact specs, but I'm looking for guidance in the spacing aspect - I'm close with the digits (my code produces one half of the display)- Thanks #include #include using namespace std; void Fun1 (int); void Fun2 (int, int); void Fun3 (int); int main() { cout <<"Enter an integer between 1 and 9 : "; int Value; cin >> Value; int count = 0; while (Value > count) { Fun2 (0, Value); Fun1 (Value); Fun2 (0, Value); cout <= 0) { cout <