MIND MAP Algorithm
Control Structure : Repetition (Loop) : 1/4
Problem is to write a program that prompts the user to input 10 numbers then to find the summation and average for those numbers. (Use while loop)
MIND MAP
►
INPUT
►
Purpose
►
Input 10 Numbers one at a time using a single Input Box and a While Loop
►
Implementation
►
Input Number 0 / 10
Numbers entered so far:
—
►
PROCESS
►
Purpose
►
Use a While Loop to accumulate Sum, then calculate Average = Sum / 10
►
Implementation
►
Dim count = 1  |  Dim Sum = 0
While count <= 10
   Sum = Sum + Number(count)
   count = count + 1
End While
Average = Sum / 10
Sum
= N1 + N2 + … + N10
Average
=
Sum
/
Count
►
OUTPUT
►
Purpose
►
Display the Sum and Average of the 10 Numbers
►
Implementation
►
Sum
Average