// // ***** The Mystery Program ***** // #include int mystery(int a, int j) { if (j == 1) return a + 1; else return a * (j / 2) + mystery(a + 1, j - 1); } void main() { cout << "It's a mystery... a = 3 plus j = 5 equals: " << mystery(3, 5) << endl; }