1
00:00:00,580 --> 00:00:03,400
Welcome to another coding challenge.

2
00:00:03,940 --> 00:00:06,580
This is indeed a coding challenge.

3
00:00:06,580 --> 00:00:12,670
So I have moved the browser on a different screen so that you can see clearly.

4
00:00:12,970 --> 00:00:14,650
Okay, so let's see.

5
00:00:15,070 --> 00:00:23,950
It says that, right, a function that takes in an array of numbers and return the average of all the

6
00:00:23,950 --> 00:00:30,310
numbers in the array based on what we if you saw in the previous video the same way.

7
00:00:30,310 --> 00:00:35,380
But for this one we are adding something into it by finding the average.

8
00:00:35,740 --> 00:00:42,850
The next is the function you take in an array and return average of all the numbers in the array.

9
00:00:43,090 --> 00:00:48,000
When you're finished next convert the result to two decimal places.

10
00:00:48,010 --> 00:00:52,960
Remember past end to fix and those methods you've discussed before, you need it here.

11
00:00:53,500 --> 00:00:59,260
And lastly, are dollar signs at the beginning of the result.

12
00:00:59,890 --> 00:01:00,610
Well.

13
00:01:00,610 --> 00:01:07,030
So if you're familiar with average meaning that let's say that we have this record, let's say we have

14
00:01:07,030 --> 00:01:16,870
this data two, four, six, and let's say one average means that are these together?

15
00:01:18,250 --> 00:01:21,420
Divided by the number of items present in the.

16
00:01:21,430 --> 00:01:27,100
So we add one, two, three, four over four, we give you the average.

17
00:01:27,430 --> 00:01:31,780
Okay, so write some code to do this kind of logic.

18
00:01:32,380 --> 00:01:34,810
So how are you going to do it?

19
00:01:34,810 --> 00:01:35,680
Well.

20
00:01:36,870 --> 00:01:38,490
Try it in this video.

21
00:01:38,490 --> 00:01:40,260
I'm going to show you how I'm going to solve this.

