From 15933d4d9be7f3d2bca36c1a72d1e76910d03b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D1=80=D0=B8=D0=B1=D1=8B=D1=82=D0=BA=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=20=D0=95=D0=BB=D0=B8=D0=B7=D0=B0=D0=B2=D0=B5=D1=82=D0=B0?= Date: Fri, 4 Sep 2026 11:19:19 +0300 Subject: [PATCH] =?UTF-8?q?feat:=20=D0=B2=D1=8B=D0=BF=D0=BE=D0=BB=D0=BD?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BB=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- works/lab-01/Readme.md | 38 ++++++++++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/works/lab-01/Readme.md b/works/lab-01/Readme.md index 388f028..41738d7 100644 --- a/works/lab-01/Readme.md +++ b/works/lab-01/Readme.md @@ -1,6 +1,6 @@ # Лабораторная работа №1 -* **Студент:** [ФИО] +* **Студент:** Прибыткова Елизавета * **Вариант / Карточка:** [Например: #025 Pikachu] --- @@ -8,8 +8,38 @@ ## Ключевой код ```csharp // Самая важная часть реализации (методы, структуры, логика) -public class Card +namespace lesson1 { - public string Name { get; set; } - public int Hp { get; set; } + internal class Program + { + static void Main(string[] args) + { + //задание 1.1 + //string pokemonName = "Чармандер"; + //string elementType = "Огонь"; + //int level = 1; + //int hp = 95; + + //Console.WriteLine("=== БАЗА ДАННЫХ ПОКЕМОНОВ ==="); + //Console.WriteLine($"Покемон: {pokemonName}"); + //Console.WriteLine($"Стихия: {elementType}"); + //Console.WriteLine($"Уровень: {level} | HP: {hp}"); + + //задание 1.2 + Console.Write("Введите имя тренера: "); + var trainerName = Console.ReadLine(); + Console.Write("Введите имя покемона: "); + var pokemonName = Console.ReadLine(); + Console.Write("Введите стихию: "); + var elementType = Console.ReadLine(); + Console.Write("Введите регион: "); + var regionName = Console.ReadLine(); + Console.WriteLine(); + Console.WriteLine("****************************************"); + Console.WriteLine("ПАСПОРТ ПОКЕМОНА"); + Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})"); + Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]"); + Console.WriteLine("****************************************"); + } + } }