Answer:
Here's a C++ program that declares an integer array of size 10, asks the user to input all the array elements, and outputs all the elements which are greater than average:
```
#include <iostream>
using namespace std;
int main() {
int arr[10];
int sum = 0;
cout << "Enter 10 integers: ";
for (int i = 0; i < 10; i++) {
cin >> arr[i];
sum += arr[i];
}
double average = (double)sum / 10;
cout << "Elements greater than average: ";
for (int i = 0; i < 10; i++) {
if (arr[i] > average) {
cout << arr[i] << " ";
}
}
return 0;
}
```
Step-by-step explanation:
1. Declare an integer array of size 10.
2. Ask user to input all the array elements using a for loop and store the sum of all elements.
3. Compute the average of the elements in the array.
4. Loop through the array and output all the elements which are greater than the average.