Welcome to another coding challenge.
This is indeed a coding challenge.
So I have moved the browser on a different screen so that you can see clearly.
Okay, so let's see.
It says that, right, a function that takes in an array of numbers and return the average of all the
numbers in the array based on what we if you saw in the previous video the same way.
But for this one we are adding something into it by finding the average.
The next is the function you take in an array and return average of all the numbers in the array.
When you're finished next convert the result to two decimal places.
Remember past end to fix and those methods you've discussed before, you need it here.
And lastly, are dollar signs at the beginning of the result.
Well.
So if you're familiar with average meaning that let's say that we have this record, let's say we have
this data two, four, six, and let's say one average means that are these together?
Divided by the number of items present in the.
So we add one, two, three, four over four, we give you the average.
Okay, so write some code to do this kind of logic.
So how are you going to do it?
Well.
Try it in this video.
I'm going to show you how I'm going to solve this.