Running+Total+Within+a+Loop

media type="custom" key="29534647"


 * Questions**

1. A program is required to count the total number of pets owned by a class of 20 students Write the pseudocode algorithm for this program.

2. A program is required to count the total items in the baskets of 6 customers at a supermarket checkout. Write the pseudocode algorithm for this program.

3. A program is required to count the total goals scored in 5 football matches. Write the pseudocode algorithm for this program.

4. A program is required to count the total age of all of the students in a class of 25. It should then work out the average age. Write the pseudocode algorithm for this program.

5. A program is required to count the total price of items in a shopping basket. It is not known how many items are in the basket Write the pseudocode algorithm for this program.