156k views
0 votes
15 5 6 6 19 4 5 5 3 4 5 19 5 4 6
What is the mean? Round your answer to the nearest tenth.

User Natim
by
6.4k points

1 Answer

3 votes
counter = 0
sum = 0

while we haven't covered all the numbers, repeat these:
Step 1: sum = sum + (next number)
Step 2: counter = counter + 1

When all numbers are covered: the average is (sum/count)
User Raul
by
5.7k points