From 90548fe5dbf15b695248e4e7e6742eb071019513 Mon Sep 17 00:00:00 2001 From: Stas Date: Mon, 5 Oct 2026 06:37:29 +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=20lesson2.kt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lesson2.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lesson2.kt b/lesson2.kt index f7f57c1..3c02631 100644 --- a/lesson2.kt +++ b/lesson2.kt @@ -17,5 +17,5 @@ fun main(){ println("Доступно энергии: 3 $energy (тип int)") println("Множитель урона: 1.5 $multiplier (тип double)") - val inputString: String = readln() - val healValue: Int = inputString.toInt() \ No newline at end of file + val inputString: String = readln() // Пользователь ввел "60" + val healValue: Int = inputString.toInt() // Значение 60 с типом Int \ No newline at end of file