Similarly, for product pi, you'd iterate over the array, but you'd scale a variable initialized at 1 per iteration. E.g.:
PRODUCT=1
FOR I=0 TO LEN(ARR)-1
PRODUCT=PRODUCT*ARR[I]
NEXT
PRINT "PRODUCT IS ";PRODUCT
Do ask if you need any further clarification or help.
0そうだね プレイ済み