From 393ea9c65d3d8207038852f1d2995ae1eefdd8c9 Mon Sep 17 00:00:00 2001 From: Rulet13 Date: Fri, 25 Sep 2026 10:22:45 +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=20works/lab-02/lab2=5F1.cs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/lab-02/lab2_1.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/works/lab-02/lab2_1.cs b/works/lab-02/lab2_1.cs index 99020c6..e42a553 100644 --- a/works/lab-02/lab2_1.cs +++ b/works/lab-02/lab2_1.cs @@ -7,9 +7,9 @@ public class lab2 int pokemonBaseAttack, pokemonLevel; Console.WriteLine("=== Прокачка покемона ==="); Console.Write("Введите значение базовой атаки: "); - Console.WriteLine(pokemonBaseAttack = int.Parse(Console.ReadLine())); + pokemonBaseAttack = int.Parse(Console.ReadLine()); Console.Write("Введите количество полученных уровней: "); - Console.WriteLine(pokemonLevel = int.Parse(Console.ReadLine())); + pokemonLevel = int.Parse(Console.ReadLine()); Console.WriteLine($"Итоговая атака покемона = {pokemonBaseAttack + (pokemonLevel * 5)} (Базовая атака + (Уровни × 5))"); }