Skip to content

Commit 06dd789

Browse files
committed
day 9 higher order function
1 parent aa9cc2d commit 06dd789

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

09_Day_Higher_order_functions/09_day_higher_order_functions.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -634,8 +634,7 @@ const products = [
634634
{country:'Dutch',count:8},
635635
{country:'German',count:7},
636636
{country:'Chinese',count:5},
637-
{country:'Swahili',count:4},
638-
{country:'Serbian',count:4}
637+
{country:'Swahili',count:4}
639638
]
640639

641640
// Your output should look like this
@@ -648,7 +647,7 @@ const products = [
648647
649648
````
650649
651-
1. \*\*\* Use countries_data.js file create a function which create the ten most populated countries
650+
2. \*\*\* Use countries_data.js file create a function which create the ten most populated countries
652651
653652
````js
654653
console.log(mostPopulatedCountries(countries, 10))
@@ -676,7 +675,7 @@ const products = [
676675

677676
````
678677

679-
1. \*\*\* Try to develop a program which calculate measure of central tendency of a sample(mean, median, mode) and measure of variability(range, variance, standard deviation). In addition to those measures find the min, max, count, percentile, and frequency distribution of the sample. You can create an object called statistics and create all the functions which do statistical calculations as method for the statistics object. Check the output below.
678+
3. \*\*\* Try to develop a program which calculate measure of central tendency of a sample(mean, median, mode) and measure of variability(range, variance, standard deviation). In addition to those measures find the min, max, count, percentile, and frequency distribution of the sample. You can create an object called statistics and create all the functions which do statistical calculations as method for the statistics object. Check the output below.
680679

681680
```js
682681
const ages = [31, 26, 34, 37, 27, 26, 32, 32, 26, 27, 27, 24, 32, 33, 27, 25, 26, 38, 37, 31, 34, 24, 33, 29, 26]

0 commit comments

Comments
 (0)