Problem:
I am in a Programming in JavaScript course and my assignment is:
Question- Write a function that lists 5 sale amounts in an array then loop through the sale amounts adding the individual sale amounts in order to determine the total sales amount. Display this total sales amount in a alert message. I am not sure where to start or how this is supposed to look.
Please help to write a function that lists 5 sale amounts in an array.