First commit

This commit is contained in:
328p
2026-09-22 15:20:54 +03:00
parent 77112f1a7f
commit 696a54d57a
9 changed files with 420 additions and 12 deletions
+31
View File
@@ -0,0 +1,31 @@
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**************************************** ");
}
}