Example

Develop a pseudocode algorithm for a program that accepts each of the average marks of 10 students in a class and computes the sum and the average mark of the class. The program should display the average mark of the class.
Begin
Set total to zero
Set counter to one
While counter is less than or equal to ten
Input student average mark
Add average mark to total
Add one to the counter
Set the class average to total divided by ten
Display the class average
End

looks ok to me

Here is the pseudocode algorithm for the program:

1. Set the variable "total" to zero.
2. Set the variable "counter" to one.
3. While the value of "counter" is less than or equal to ten, repeat steps 4-7.
4. Prompt the user to input the average mark of a student.
5. Add the average mark to the value of "total".
6. Add one to the value of "counter".
7. Repeat step 3.
8. Set the variable "class_average" to the value of "total" divided by ten.
9. Display the value of "class_average".
10. End the program.

This pseudocode algorithm will allow you to accept the average marks of 10 students, compute the sum, and calculate the average mark of the class. The program will then display the average mark of the class.

The pseudocode algorithm you provided is a simple way to calculate the sum and average mark of a class given the average marks of 10 students. Here's a step-by-step breakdown of how the algorithm works:

1. Begin: This is the starting point of the algorithm.

2. Set total to zero: A variable named "total" is initialized to zero. This variable will be used to calculate the sum of the average marks.

3. Set counter to one: Another variable named "counter" is initialized to one. This variable will be used to keep track of the number of students.

4. While counter is less than or equal to ten: This is a loop that will execute the following steps until the counter is equal to or exceeds the value of ten.

5. Input student average mark: This step prompts the user to enter the average mark of a student.

6. Add average mark to total: The average mark entered by the user is added to the current value of the total variable.

7. Add one to the counter: The counter is incremented by one to keep track of the number of students.

8. Set the class average to total divided by ten: Once the loop finishes executing, the algorithm divides the total by ten to calculate the average mark of the class. This value is stored in a variable called "class average".

9. Display the class average: The calculated average mark of the class is then displayed.

10. End: This is the end of the algorithm.

To implement this algorithm in a programming language, you can use the corresponding syntax and replace the pseudocode with the actual code. For example, in Python, the algorithm can be implemented like this:

```python
total = 0
counter = 1

while counter <= 10:
average_mark = float(input("Enter student average mark: "))
total += average_mark
counter += 1

class_average = total / 10
print("The average mark of the class is:", class_average)
```

This code will ask the user to enter the average mark of each student, calculate the total and average, and finally display the average mark of the class.