Question: Don't use programming language. Write the algorithm steps in English Complete the algorithm that outputs the average value of all positive numbers found in a

Don't use programming language. Write the algorithm steps in English

Complete the algorithm that outputs the average value of all positive numbers found in a list.

Assume that a positive number is a number greater than 0.

For example:

- Given a list with the following contents: [8, -4, -1, 7, 0, -3, 4, -1, -6, -3, 6, 5, 11, -4, 0, 5, 1]

- The output should be 6, because (8+7+4+6+5+11+5+2)/8 = 6

Complete the algorithm given the following first steps and also provide a flow chart:

1. Input items into list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!