10 REM * NUM (MAT INPUT) * TEST PROGRAM
20 DIM N(20)
30 PRINT "ENTER A FEW NUMBERS SEPARATED BY COMMAS";
40 MAT INPUT N
50 S = 0
60 FOR I=1 TO NUM
70   S = S + N(I)
80 NEXT I
90 PRINT "THE AVERAGE OF";NUM;"VALUES IS";S/NUM
99 END
