Sum and product of an array: Difference between revisions
Content added Content deleted
Langurmonkey (talk | contribs) |
m (→{{header|Wren}}: Minor tidy) |
||
Line 3,726: | Line 3,726: | ||
=={{header|Wren}}== |
=={{header|Wren}}== |
||
{{libheader|Wren-math}} |
{{libheader|Wren-math}} |
||
<syntaxhighlight lang=" |
<syntaxhighlight lang="wren">import "./math" for Nums |
||
var a = [7, 10, 2, 4, 6, 1, 8, 3, 9, 5] |
var a = [7, 10, 2, 4, 6, 1, 8, 3, 9, 5] |
||
System.print("Array : %(a)") |
System.print("Array : %(a)") |