Asked by James

Pseudocode:

Write a pseudocode to describe how to calculate the average of 10 numbers.

Thank you.

Answers

Answered by Steve
add the numbers and divide by 10. If they are in an array called n, then

sum=0
for (i=0 to 9) sum += n[i]
avg = sum/10
Answer
What is pseudocode
There are no AI answers yet. The ability to request AI answers is coming soon!

Related Questions