From 5dc7b88661f633787559f357083fa97ec78aa53f Mon Sep 17 00:00:00 2001 From: 328p <328p@BTK.MAIN> Date: Thu, 3 Sep 2026 16:19:42 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A1=D0=B4=D0=B5=D0=BB=D0=B0=D0=BD=D0=BE=201?= =?UTF-8?q?=20=D0=B8=202=20=D0=B7=D0=B0=D0=B4=D0=B0=D0=BD=D0=B8=D0=B5=20?= =?UTF-8?q?=D0=B2=D1=81=D0=B5=20=D0=B2=20=D0=BE=D0=B4=D0=BD=D0=BE=D0=BC=20?= =?UTF-8?q?=D1=84=D0=B0=D0=B9=D0=BB=D0=B5=20txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lab01.txt | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 lab01.txt diff --git a/lab01.txt b/lab01.txt new file mode 100644 index 0000000..0b32f5b --- /dev/null +++ b/lab01.txt @@ -0,0 +1,31 @@ +using System; + +class Program { + static void Main() { + string pokemonName ="Charmander"; + string elementType = "Fire"; + int level = 1; + int hp = 95; + Console.WriteLine($"===Database== \n Pokemon: {pokemonName} \n Element: {elementType} \n Level: {level}| HP: {hp}"); + + } +} + +using System; + +public class Test +{ + public static void Main() + { + Console.Write("Введите имя тренера:\n"); + string trainerName = Console.ReadLine() ; + Console.Write("Введите имя покемона:\n"); + string pokemonName = Console.ReadLine(); + Console.Write("Введите стихию:\n"); + string elementType = Console.ReadLine(); + Console.Write("Введите регион:\n"); + string regionName = Console.ReadLine(); + Console.WriteLine($"****************************************\n ПАСПОРТ ПОКЕМОНА \n Тренер: {trainerName} (Регион: {regionName})\n Покемон: {pokemonName} [ Стихия: {elementType}] \n**************************************** "); + + } +}