#include using namespace std; int recur_ex(int m, int n); // This assignment is worth 4 points int main() { unsigned int x, y; cout << "Enter two numbers: "; cin >> x >> y; cin.ignore(); cout << "f(" << x << ", " << y << ") = " << recur_ex(x, y) << endl; return 0; } int recur_ex(int m, int n) { if(m == 0 && n > 0) return n+1; else if(n == 0 && m > 0) return m+1; else if(m > 0 && n > 0) return recur_ex(m-1, n) + recur_ex(m, n-1); }