From c2f2cbb74e643388aeba70b9fc3df183d83c8c24 Mon Sep 17 00:00:00 2001 From: AntonKat Date: Thu, 24 Sep 2026 12:32:00 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20Laba4.1.kt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laba4.1.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Laba4.1.kt b/Laba4.1.kt index 2e099b8..cc2c81f 100644 --- a/Laba4.1.kt +++ b/Laba4.1.kt @@ -40,4 +40,12 @@ fun main() { round ++ } +var damageCounters = 0 +val maxCounters = 5 + +while (damageCounters < maxCounters) { + damageCounters++ + println("Наложен жетон урона №$damageCounters .") +} + } \ No newline at end of file