From 93ec10ea53f5e16b0b9b9b34c85e080a9b189a9c Mon Sep 17 00:00:00 2001 From: 328p <328p@BTK.MAIN> Date: Thu, 3 Sep 2026 16:19:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B2=D0=B0=D1=8F=20=D0=BB?= =?UTF-8?q?=D0=B0=D0=B1=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Program (1).cs | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Program (1).cs diff --git a/Program (1).cs b/Program (1).cs new file mode 100644 index 0000000..5d64cbe --- /dev/null +++ b/Program (1).cs @@ -0,0 +1,32 @@ +using System; + +class Program { + static void Main() + { + //ЗАДАНИЕ 1 + //string pokemonName ="Charmander"; + //string elementType ="Fire"; + //int level = 1; + // int hp = 95; + + //Console.WriteLine("===Pokemon DataBase=== "); + //Console.WriteLine( $" Pokemon:{pokemonName}"); + //Console.WriteLine( $" Element:{elementType}"); + //Console.WriteLine( $" level:{level} | HP: {hp}"); + //Console.ReadLine(); + + //ЗАДАНИЕ 2 + + Console.Write ("Enter the trainers name: \n "); + string trainerName = Console.ReadLine(); + Console.Write ("Enter the Pokemons name: \n "); + string pokemonName = Console.ReadLine(); + Console.Write ("Enter the region: \n "); + string region = Console.ReadLine(); + Console.Write ("Enter the element: \n"); + string element = Console.ReadLine(); + + Console.Write("Pokemon Pasport \nTrainer:{trainerName}(Region{region}| Pokemon{pokemonName} [Element{element}])"); + + } +}