Name: ____________________________________________________ Alpha: _____________________

Describe help received: _________________________________________________________________

Bunnies are standing in a line, numbered 1,2,... The odd bunnies (1,3) have each laid two eggs. The even bunnies (2,4,...) have each laid three. Complete the function below to recursively calculate the number of eggs that have been laid in total. Note, if there are zero bunnies, there are zero eggs.

You may not use loops or multiplication.

```
#include <iostream>
using namespace std;
int bunnyEggs(int);
int main() {
cout << "How many bunnies? ";
int bunnies;
cin >> bunnies;
int eggs = bunnyEggs(bunnies);
cout << eggs << " eggs." << endl;
return 0;
}
int bunnyEggs(int bunnies) {
```

**Turn In:** This page, along with a screenshot of your program running on 9 bunnies, and the codeprint output of your program.