2013-9: It Is a Moving Experience
Write a dfn which produces n month moving averages for a year's worth of data.
Examples:
sales←200 300 2700 3400 100 2000 400 2100 3500 3000 4700 4300
2 (your_function) sales ⍝ produces 2 month moving averages
250 1500 3050 1750 1050 1200 1250 2800 3250 3850 4500
10 (your_function) sales ⍝ 10 month moving average
1770 2220 2620
1 (your_function) sales ⍝ 1 month moving average is the same as sales
200 300 2700 3400 100 2000 400 2100 3500 3000 4700 4300
your_function ←
Solutions

