# Sum and product of an array

From Fōrmulæ wiki

This page is a solution to the task Sum and product of an array in the Rosetta Code, written in Fōrmulæ.

### Description (from Rosetta Code)

Compute the sum and product of an array of integers. |

### Solution

### Alternative solution

### Cases

Both solutions retrieve the same results:

Elements can be symbols:

Any zero factor produces a product of zero:

With empty lists: