Skip to content

Commit 4158952

Browse files
committed
7-check-if-out-range
1 parent ecc1875 commit 4158952

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

1-js/02-first-steps/11-logical-operators/7-check-if-out-range/solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
The first variant:
1+
Prima variantă:
22

33
```js
44
if (!(age >= 14 && age <= 90))
55
```
66

7-
The second variant:
7+
A doua variantă:
88

99
```js
1010
if (age < 14 || age > 90)

1-js/02-first-steps/11-logical-operators/7-check-if-out-range/task.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ importance: 3
22

33
---
44

5-
# Check the range outside
5+
# Verifică intervalul din afara.
66

7-
Write an `if` condition to check that `age` is NOT between `14` and `90` inclusively.
7+
Scrie o condiție `if` care verifică dacă `age` nu este cuprins înte `14` și `90`, inclusiv.
88

9-
Create two variants: the first one using NOT `!`, the second one -- without it.
9+
Creează două variante: în prima să folosești NU `!`, iar ceea de-a doua nu.

0 commit comments

Comments
 (0)