I am not very good at this. I have been trying this for days. Can anyone help?
Given 2 arrays 1 to 20, compute the sum of the products.
DIM p(1 to 20)
DIM Q(1 to 20)
for i=1 to 20
read q(i)
let a=i*q(i)
print a
next i
DATA 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20