answersLogoWhite

0


Best Answer

Not sure what you mean by "a 5". To calculate the mean (average) of several numbers, you need to add them all up, then divide by the size of the set. Something like this:

counter = 0

sum = 0

for each number in the set

{

counter++

sum += the individual number

}

result = sum / counter

User Avatar

Wiki User

9y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the pseudo code for a module to calculate the mean of a 5?
Write your answer...
Submit
Still have questions?
magnify glass
imp