Sum and product of an array: Difference between revisions

m
Line 1,207:
=={{header|Freepascal}}==
<syntaxhighlight lang="pascal">
program sumprocuctsumproduct;
var
a:array[0..4] of integer =(1,2,3,4,5);
Line 1,227:
120
</pre>
 
=={{header|Frink}}==
<syntaxhighlight lang="frink">
61

edits