Sum and product of an array: Difference between revisions

Line 830:
set sum [tcl::mathop::+ {*}$arr]
set prod [tcl::mathop::* {*}$arr]</lang>
 
=={{header|TI-83 BASIC}}==
Use the built-in functions <pre>sum()</pre> and <pre>prod()</pre>.
 
=={{header|Toka}}==
Anonymous user