---
# System prepended metadata

title: Pre-Class Exercise

---

# Pre-Class Exercise 

Given the array [199, 3, 84, 1, 7, 333, 23]

Write a function that add the elements together and returns a single value. 

Write a function that multiplys the values and return a single value

Write a function that adds elements at every odd index return and return a single value.

Write a function that multiply elements at every even index return and return a single value.

---

***Requirements: Each function should take in two parameters an array and a starting index. ***

ex const someFunc = (array, startingIndex) => {} // returns a number
