From 82fd03632639f7859e349fe705bf2ec4775cff3f Mon Sep 17 00:00:00 2001 From: How Date: Thu, 24 Sep 2026 10:58:19 +0000 Subject: [PATCH] aaaaaaa --- kotlin 4.2 1 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 kotlin 4.2 1 diff --git a/kotlin 4.2 1 b/kotlin 4.2 1 new file mode 100644 index 0000000..1a99b5a --- /dev/null +++ b/kotlin 4.2 1 @@ -0,0 +1,11 @@ +fun main() { + print("количество карт в одном бустере: ") + val cardsInBooster = readln().toInt() + + var totalCards = 0 + for(i in 1..cardsInBooster){ + println("[БУСТЕР] Распакована карта №$ из $cardsInBooster") + totalCards++ + } + println("общее кол-во карт: $totalCards") +} \ No newline at end of file