From b4202191a11cb20e7393ea440b9d0ffd89d1a040 Mon Sep 17 00:00:00 2001 From: codevadym Date: Tue, 4 Feb 2025 20:50:36 +0100 Subject: [PATCH] last --- 21-compare-variables/start.js | 3 +++ 22-division-remainder/start.js | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/21-compare-variables/start.js b/21-compare-variables/start.js index 49a5c52..1770256 100644 --- a/21-compare-variables/start.js +++ b/21-compare-variables/start.js @@ -14,4 +14,7 @@ let myVariable2 = '5' myVariable1 = '20' myVariable2 = 100 +Number(myVariable1) +Number(myVariable2) // Напишите код здесь +myVariable1 <= myVariable2 ? console.log("True") : console.log("False") \ No newline at end of file diff --git a/22-division-remainder/start.js b/22-division-remainder/start.js index 264bfb6..a9af218 100644 --- a/22-division-remainder/start.js +++ b/22-division-remainder/start.js @@ -8,5 +8,7 @@ * 3. Проверьте ассоциативность самостоятельно */ -const myNumber1 = 10 // 10 = 3 + 3 + 3 + 1 +const myNumber1 = 11 // 10 = 3 + 3 + 3 + 1 const myNumber2 = 3 + +console.log(myNumber1 % myNumber2) \ No newline at end of file