generated from admin/template
доработка оформления
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab-01", "lab-01\lab-01.csproj", "{EBC5DA53-6234-4418-BE96-42D2151BA6EE}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "lab01", "lab01\lab01.csproj", "{3C40E087-928A-4E90-A084-D7D74CAF6EEA}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@@ -8,9 +8,9 @@ Global
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{EBC5DA53-6234-4418-BE96-42D2151BA6EE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{EBC5DA53-6234-4418-BE96-42D2151BA6EE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{EBC5DA53-6234-4418-BE96-42D2151BA6EE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{EBC5DA53-6234-4418-BE96-42D2151BA6EE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3C40E087-928A-4E90-A084-D7D74CAF6EEA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3C40E087-928A-4E90-A084-D7D74CAF6EEA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3C40E087-928A-4E90-A084-D7D74CAF6EEA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3C40E087-928A-4E90-A084-D7D74CAF6EEA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -0,0 +1,37 @@
|
||||
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("****************************************");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,6 @@
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net10.0</TargetFramework>
|
||||
<RootNamespace>lab_01</RootNamespace>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
@@ -1,37 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace lesson1
|
||||
{
|
||||
class lesson1
|
||||
{
|
||||
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("****************************************");
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user