Average of an array
This was code Wars kata problem. Here is the question: DESCRIPTION: Write a function that calculates the average of the numbers in a given list. Note: Empty arrays should return 0. Solution First, we have to determine the sum of the total elements in...
Oct 2, 20232 min read49
