Home
Random
Log in
Settings
About Rosetta Code
Disclaimers
Rosetta Code
Search
Sum and product of an array: Difference between revisions
Page
Discussion
← Older edit
Newer edit →
Sum and product of an array
(view source)
Revision as of 11:03, 30 May 2014
7 bytes added
,
10 years ago
→{{header|Julia}}
Revision as of 06:00, 25 May 2014
(
view source
)
Jlp765
(
talk
|
contribs
)
m
(Reorder Julia to be before Lasso)
← Older edit
Revision as of 11:03, 30 May 2014
(
view source
)
rosettacode>Common-dude
(
→{{header|Julia}}
)
Newer edit →
Line 869:
=={{header|Julia}}==
<lang julia>julia> sum(
1:5
[4,6,8]
)
18
15
julia> prod(1:5)
▼
120</lang>
▼
▲
julia> prod(
1:5
[4,6,8]
)
▲
120
192
</lang>
=={{header|Lang5}}==
Anonymous user
rosettacode>Common-dude