fixed instructions for level 2 execises 2, 3, 4, and 5

pull/846/head
Henry Hart Alegrado 2 years ago
parent d6af6a2b0e
commit 929588f200

@ -414,13 +414,13 @@ for(let i = 0; i <= 5; i++){
]
```
2. In above countries array, check if there is a country or countries containing the word 'land'. If there are countries containing 'land', print it as array. If there is no country containing the word 'land', print 'All these countries are without land'.
2. In the countries array above, check if there is a country or countries containing the word 'land'. If there are countries containing 'land', print it as array. If there is no country containing the word 'land', print 'All these countries are without land'.
```sh
['Finland','Ireland', 'Iceland']
```
3. In above countries array, check if there is a country or countries end with a substring 'ia'. If there are countries end with 'ia', print it as array. If there is no country containing the word 'ia', print 'These are countries ends without ia'.
3. In the countries array above, check if there is a country or countries end with a substring 'ia'. If there are countries end with 'ia', print it as array. If there is no country containing the word 'ia', print 'These are countries ends without ia'.
```sh
['Albania', 'Bolivia','Ethiopia']

Loading…
Cancel
Save