write a program that reads ten numbers, computes their average and find out how many numbers are above average.

We are not going to do it for you. If you want to post what you have done and why it doesn't work as expected, we can make suggestions to correct/improve the program.

int userVal=0;

int sum=0;
int avg=0;
int aboveAvg=0;

for(int i=0;i<11;i++)
{

cout<< "Enter a value"<<endl;
cin>> userVal;

sum=userVal+sum;

}

avg=sum/10;
cout<<avg<<endl;

for (int j=0;j<11;j++)
{

if(userVal>avg)
{
aboveAvg=userVal;
cout<<"Numbers above the average are "<<aboveAvg<<endl;
}
}

Here's a step-by-step guide to writing a program in Python that reads ten numbers, computes their average, and determines how many numbers are above average:

1. Initialize an empty list to store the numbers entered by the user.
2. Create a loop that runs 10 times to read the numbers from the user and append them to the list.
3. Calculate the average of the numbers by summing all the numbers in the list and dividing the sum by the length of the list.
4. Initialize a variable to keep track of the count of numbers above the average. Set it to 0.
5. Use a loop to iterate through each number in the list.
6. Compare each number with the calculated average.
7. If a number is greater than the average, increment the count of numbers above the average by 1.
8. Print the average and the count of numbers above the average.

Here's the Python code:

```python
numbers = [] # Step 1

# Step 2
for _ in range(10):
num = int(input("Enter a number: "))
numbers.append(num)

avg = sum(numbers) / len(numbers) # Step 3

count_above_avg = 0 # Step 4

# Step 5
for num in numbers:
# Step 6
if num > avg:
count_above_avg += 1 # Step 7

# Step 8
print("Average:", avg)
print("Numbers above average:", count_above_avg)
```

Hope this helps! Feel free to ask if you have any further questions.

To write a program that reads ten numbers, computes their average, and determines how many numbers are above the average, you can follow these steps:

1. Initialize a variable `sum` to 0.
2. Create a list to store the ten numbers.
3. Run a loop ten times to input the numbers from the user, and add each number to the `sum`.
4. Divide the `sum` by 10 to calculate the average.
5. Initialize a variable `count` to 0.
6. Run a loop through the list of numbers and check if each number is above the average. If so, increment the `count` by 1.
7. Print the average and the number of numbers above the average.

Here's an example program in Python:

```python
numbers = [] # Step 2

# Step 3
for i in range(10):
number = int(input("Enter number " + str(i+1) + ": "))
numbers.append(number)

average = sum(numbers) / 10 # Step 4

count = 0 # Step 5

# Step 6
for number in numbers:
if number > average:
count += 1

print("Average:", average)
print("Numbers above average:", count)
```

By running this program, you can enter the ten numbers, and it will compute the average and provide the count of numbers above the average.