Answer :

The values of A are 2,2,4,5,5,6,7,7,8,10
There are 10 values which means that the Mean=Sum/10
                                                                     =(2+2+4+5+5+6+7+7+8+10)/10
                                                                     =56/10
                                                                     =5.6
You just add all the numbers in variable A, then divided it by how many numbers there are