Skip to content

Commit c2b620b

Browse files
authored
Merge pull request #39 from gmihov001/patch-12
Update README.md
2 parents 46a03ce + 5391f66 commit c2b620b

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

exercises/11-Do-while/README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ do {
1818

1919
## 📝 Instructions:
2020

21-
1. Print every iteration number on the console from 20 to 0 but concatenate an exclamation point to the output if the number is a module of 5.
21+
1. Print every iteration number on the console from 20 to 0.
2222

23-
2. At the end `console.log()`de `LIFTOFF`.
23+
2. Print the numbers that are module of 5 with a concatenated exclamation mark.
24+
25+
3. When the loop reaches zero, print `LIFTOFF` instead of `0`. This `console.log()` statement must go **inside** of the loop.
26+
2427

2528
### Expected result:
2629

@@ -38,5 +41,6 @@ do {
3841
10!
3942
.
4043
.
44+
1
4145
LIFTOFF
42-
```
46+
```

0 commit comments

Comments
 (0)