00001 00015 // Exercise 15 00016 00017 void recurse(int x, int y) 00018 { 00019 if (y > 0) 00020 { ++x; 00021 --y; 00022 cout << x << " " << y << endl; 00023 recurse(x, y); 00024 cout << x << " " << y << endl; 00025 } // end if 00026 } // end recurse