Sum and product of an array: Difference between revisions
Content added Content deleted
m (Fixed a typo.) |
m (Corrected language order.) |
||
Line 970: | Line 970: | ||
=={{header|TI-83 BASIC}}== |
=={{header|TI-83 BASIC}}== |
||
Use the built-in functions <pre>sum()</pre> and <pre>prod()</pre>. |
Use the built-in functions <pre>sum()</pre> and <pre>prod()</pre>. |
||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|Toka}}== |
=={{header|Toka}}== |
||
Line 988: | Line 984: | ||
( product ) |
( product ) |
||
reset 1 4 0 [ i foo array.get * ] countedLoop .</lang> |
reset 1 4 0 [ i foo array.get * ] countedLoop .</lang> |
||
⚫ | |||
⚫ | |||
⚫ | |||
=={{header|UNIX Shell}}== |
=={{header|UNIX Shell}}== |
||
{{works with|NetBSD|3.0}} |
{{works with|NetBSD|3.0}} |