Write a C++ pogram for the following Employee Name and 12 months’ salary. Salary starts with $5000 per month and increments every month by 10% of previous month salary. At the end of the year, the employee is paid a 5% bonus on top of the yearly salary. Compute the statistics, Total yearly salary including the bonus, average monthly salary for 12 months including the bonus.

Sure! Here's a C++ program that calculates the total yearly salary and average monthly salary for an employee based on the given conditions:

```cpp
#include <iostream>
using namespace std;

int main() {
string employeeName;
double monthlySalary = 5000;
double yearlySalary = 0;

// Get employee name
cout << "Enter employee name: ";
getline(cin, employeeName);

// Calculate monthly salary and total yearly salary
for (int month = 1; month <= 12; month++) {
yearlySalary += monthlySalary;
monthlySalary += monthlySalary * 0.10; // Increment salary by 10%
}

// Calculate bonus and update yearly salary
double bonus = yearlySalary * 0.05;
yearlySalary += bonus;

// Calculate average monthly salary
double averageMonthlySalary = yearlySalary / 12;

// Output the statistics
cout << "Employee Name: " << employeeName << endl;
cout << "Total Yearly Salary (including bonus): $" << yearlySalary << endl;
cout << "Average Monthly Salary (including bonus): $" << averageMonthlySalary << endl;

return 0;
}
```

To compile this program, save it with a `.cpp` extension on your computer (e.g., `salary.cpp`), and then compile it using a C++ compiler (e.g., `g++ salary.cpp -o salary`).
After compiling, you can run the program (e.g., `./salary`) and follow the prompts to enter the employee name. The program will then calculate and display the total yearly salary and average monthly salary, including the bonus.