generated from admin/template
Сделал lesson1
This commit is contained in:
@@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lesson1", "lesson1\lesson1.csproj", "{7BF48FDA-AC3A-4E31-A662-653EDE2FBCE1}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{7BF48FDA-AC3A-4E31-A662-653EDE2FBCE1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7BF48FDA-AC3A-4E31-A662-653EDE2FBCE1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7BF48FDA-AC3A-4E31-A662-653EDE2FBCE1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7BF48FDA-AC3A-4E31-A662-653EDE2FBCE1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
/*string pokemonName = "Чармандер";
|
||||||
|
string elementType = "Огонь";
|
||||||
|
int level = 1;
|
||||||
|
int hp = 95;
|
||||||
|
Console.WriteLine($"=== БАЗА ДАННЫХ ПОКЕМОНОВ ===");
|
||||||
|
Console.WriteLine($"Покемон: {pokemonName}");
|
||||||
|
Console.WriteLine($"Стихия: {elementType}");
|
||||||
|
Console.WriteLine($"Уровень: {level} | HP: {hp}\n");*/
|
||||||
|
|
||||||
|
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("\n****************************************\n" + "ПАСПОРТ ПОКЕМОНА");
|
||||||
|
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
||||||
|
Console.WriteLine($"Покемон: {pokemonName} [Стихия: ${elementType}]");
|
||||||
|
Console.WriteLine("****************************************");
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
Reference in New Issue
Block a user