Skip to content

R-Dineshbabu/Day-7-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

1.Solving problems using array functions on rest countries data (https://restcountries.com/v3.1/all).

a.Get all the countries from Asia continent /region using Filter function

b.Get all the countries with a population of less than 2 lakhs using Filter function

c.Print the following details name, capital, flag, using forEach function

d.Print the total population of countries using reduce function

e.Print the country that uses US dollars as currency.