Calculating the average successively from an array of numbers
I have an array, and I need to create another array, and calculate the successive average of the numbers as I move along the first array.
For instance, the average of 1st & 2nd, then the average of 1st,2nd, and 3rd, etc. till end of the array
Below some more explanation, including my attempt, but I could not reach what I am looking for. I appreciate your help... Thanks




