10 n=10-1
20 DIM a(n)
30 FOR i=0 TO n:a(i)=RANGE(100, 1000):NEXT i
40 ? "Contents:"
50 FOR i=0 TO n:? a(i):NEXT i
60 ?
70 ? "Min: ",ARRAY.MIN(REF a())
80 ? "Max: ",ARRAY.MAX(REF a())
90 ? "Sum: ",ARRAY.SUM(REF a())
100 ? "Product: ",ARRAY.PRODUCT(REF a())
110 ? "Average: ",ARRAY.AVERAGE(REF a())
120 ? "Median: ",ARRAY.MEDIAN(REF a())
130 ? "Variance: ",ARRAY.VARIANCE(REF a())
