Answer :
10 Dim V(5)
19 rem compute the numbers
20 v(1)=rnd
30 v(2)=rnd
40 v(3)=rnd
50 v(4)=rnd
60 v(5)=rnd
69 rem compute the average
70 a=(v(1)+v(2)+v(3)+v(4)+v(5))/5
79 rem print the numbers and their average
80 print v,a
19 rem compute the numbers
20 v(1)=rnd
30 v(2)=rnd
40 v(3)=rnd
50 v(4)=rnd
60 v(5)=rnd
69 rem compute the average
70 a=(v(1)+v(2)+v(3)+v(4)+v(5))/5
79 rem print the numbers and their average
80 print v,a