Files
2026-09-22 15:20:54 +03:00

32 lines
1.0 KiB
Plaintext

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