Files
csharp/works/lab-01/zadanie 2.cs
T
2026-09-03 16:58:47 +03:00

16 lines
673 B
C#

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}]");
}
}