Asked by James
Pseudocode:
Write a pseudocode to describe how to calculate the average of 10 numbers.
Thank you.
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
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!
Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.