How to Calculate average voltage values for 10 no's using arduino code

I need able to calculate the average voltage on the load side using arduino code. The voltage values are continuously readed in display serial monitor of arduino at that time, i am calculate first 10 value of averages. what is the best way to achieve this is. Thanks!

Add up ten samples and divide by ten.

How is this an electronics question?

You need to explain WHY you even have to ask that question. WHAT is your problem ?
Is it understanding arithmatic ?
" " " how to code ?
" " " how to measure voltage ?

POST YOUR CODE !

You were asked some questions , which you ignored.
Reread my last post. Answer all of the questions.
Post your code .

You have not explained anything.
There is no circuit schematic.
There is no code.
There is no explanation of how these voltage were obtained.
Basically, you have told us nothing and continue to repeat the same vague request with no explanation of why it is necessary for you to post for this.

Are you retarded ?
What exactly is your problem ?
Answer the questions that were asked and start from the beginning.
Explain why you are doing this, how the voltages are obtained, why you have to ask for help for such a simple task and whether or not you have any experience whatsoever with anything.(H/W, S/W ).
Please do not repeat what you have said in the last two posts. They were of no help in understanding what exactly your problem is.
What is your problem ? What is it you do not know how to do ? (besides explain why you need help)
ie:
A program has INPUT , PROCESSING & OUTPUT.
What is your input ? (please don't answer by saying "voltages". You need to be more specific. How do you obtain them ?)
PROCESSING : What is so hard about adding up ten numbers and dividing by ten ? Are you arithmetically challenged ?
OUTPUT : ?
Your English is not very understandable. You are saying things but it is not clear what you are trying to say.