Sum and product of an array: Difference between revisions

m
Line 928:
 
=={{header|Gambas}}==
'''[https://gambas-playground.proko.eu/ You can run this code. Copy the code, click this link, paste it in and press 'Run !']'''
<lang gambas>Public Sub Main()
Dim iList As Integer[] = [1, 2, 3, 4, 5]
Line 947 ⟶ 948:
The Product = 120
</pre>
 
=={{header|GAP}}==
<lang gap>v := [1 .. 8];
Anonymous user