Hi ,
pls i need your help .
i write algorithm that calculate prefix average
..
sum=0
for i=1:n do
sum =suma+a
b=sum/i
return array b
my teacher said , write above code using insted for ..
how i can use the other for ..
what are your opinion?