Files
prog-belyaev/CSharp/lab-01/lab01/Program.cs
T

37 lines
1.7 KiB
C#

using System;
namespace lab01
{
class Lab01Tasks
{
static void Main(string[] args)
{
// Console.WriteLine("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}");
Console.WriteLine("1 БЛОК 2 ЗАДАНИЕ");
Console.Write($"Введите имя тренера: ");
string trainerName = Console.ReadLine();
Console.Write($"Введите имя покемона: ");
string pokemonName = Console.ReadLine();
Console.Write($"Введите стихию: ");
string elementType = Console.ReadLine();
Console.Write($"Введите регион: ");
string regionName = Console.ReadLine();
Console.WriteLine("****************************************");
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
Console.WriteLine($"Покемон: {pokemonName} [Стихия: {elementType}]");
Console.WriteLine("****************************************");
}
}
}