Sum and product of an array: Difference between revisions
Content added Content deleted
(Add bruijn) |
Langurmonkey (talk | contribs) |
||
Line 2,085:
<syntaxhighlight lang="langur">val .list = series 19
writeln " list: ", .list
writeln " sum: ", fold
writeln "product: ", fold
</syntaxhighlight>
{{out}}
|