Examlex

Solved

What Problem Does the Following Algorithm Solve

question 37

Essay

What problem does the following algorithm solve?
Set count to zero
Set total to zero
Write "How many?"
Read limit
WHILE count < limit
Read num
Set total to total + num
Set count to count + 1
Set ans to total divided by count
Write ans


Definitions:

Related Questions