Jump to content
Main menu
Main menu
move to sidebar
hide
Social
Discord
Facebook
Twitter
Explore
Languages
Tasks
Random page
Rosetta Code
Search
Search
Create account
Log in
Personal tools
Dark mode
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Sum and product of an array: Difference between revisions
Page
Discussion
English
Read
View source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
View source
View history
Refresh
General
What links here
Related changes
Special pages
Page information
Get shortened URL
Help
← Older edit
Newer edit →
Content deleted
Content added
Inline
Revision as of 06:00, 25 May 2014
view source
Jlp765
(
talk
|
contribs
)
118
edits
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:
Line 869:
=={{header|Julia}}==
=={{header|Julia}}==
<lang julia>julia> sum(
1:5
)
<lang julia>julia> sum(
[4,6,8]
)
18
15
⚫
julia> prod(
1:5
)
⚫
120
</lang>
⚫
julia> prod(
[4,6,8]
)
⚫
192
</lang>
=={{header|Lang5}}==
=={{header|Lang5}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.
More information
OK
Toggle limited content width