hi,
how to calculate the simple moving average using arrays concept.
int[] numbers = { 12, 12, 21, 34, 34, 342, 12, 21, 32, 42, 321, 23, 23, 34, 34, 21, 12, 12, 21, 21, 43, 34, 43, 5, 43, 2, 36, 6, 46, 4, 5, 4, 56, 65, 56, 34, 67, 4, 54, 76, 54, 87, 87, 3, 2, 45, 4, 65, 7, 56, 56, 45, 4, 54, 54, 54, 9, 5, 45, 54, 45, 45, 45, 78, 34, 65, 87, 5, 68, 9, 6, 56, 56, 78, 56, 45, 4, 34, 34, 37 };
please help me.