Question #204231

Write an algorithm for finding the average of five numbers


Expert's answer

INITIALIZE SUM and COUNTER


WHILE COUNTER < 5


INPUT NUMBER


ADD NUMBER to SUM


INCREMENT COUNTER


ENDWHILE


CALCULATE AVERAGE = SUM / 5


PRINT AVERAGE


STOP


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS