Добавление файла Лаб2

This commit is contained in:
328p
2026-09-03 16:23:08 +03:00
parent 852d91403d
commit b7bb46f24e
+16
View File
@@ -0,0 +1,16 @@
using System;
class Program
{
static void Main() {
Console.Write("Введите имя тренера ");
string trainerName = Console.ReadLine();
Console.Write("Введите имя покемона ");
string pokemonName = Console.ReadLine();
Console.Write("Введите стихию ");
string elementType = Console.ReadLine();
Console.Write("Введите регион ");
string region = Console.ReadLine();
Console.WriteLine($"ПАСПОРТ ПОКЕМОНА\nТренер: {trainerName}(Регион: {region})\nПокемон: {pokemonName} [Стихия: {elementType}]");
}
}