Restructure the Solution for 'Army of Functions' task and Fix Typos
Fix #2068 - Army of Functions Fix #2070 - Typo Fix #2056 - Grammatical Error Fix #2074 - Remove semi-colon after function declaration
This commit is contained in:
parent
2f4747be58
commit
0f5b63d86f
8 changed files with 136 additions and 49 deletions
|
@ -10,6 +10,6 @@ do {
|
|||
The loop `do..while` repeats while both checks are truthy:
|
||||
|
||||
1. The check for `num <= 100` -- that is, the entered value is still not greater than `100`.
|
||||
2. The check `&& num` is false when `num` is `null` or a empty string. Then the `while` loop stops too.
|
||||
2. The check `&& num` is false when `num` is `null` or an empty string. Then the `while` loop stops too.
|
||||
|
||||
P.S. If `num` is `null` then `num <= 100` is `true`, so without the 2nd check the loop wouldn't stop if the user clicks CANCEL. Both checks are required.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue