1: // Created by Frank M. Carrano and Tim Henry.
2: // Copyright (c) 2013 __Pearson Education__. All rights reserved.
4: void recurse(int x, int y)
5: {
6: if (y > 0)
7: {
8: x++;
9: y--;
10: cout << x << " " << y << endl;
11: recurse(x, y);
12: cout << x << " " << y << endl;
13: } // end if
14: } // end recurse