generated from admin/template
labs 02
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConsoleApp1", "ConsoleApp1\ConsoleApp1.csproj", "{E466F916-6514-4028-9168-72CB17B0A5E7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E466F916-6514-4028-9168-72CB17B0A5E7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E466F916-6514-4028-9168-72CB17B0A5E7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E466F916-6514-4028-9168-72CB17B0A5E7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E466F916-6514-4028-9168-72CB17B0A5E7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
@@ -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>
|
||||
@@ -0,0 +1,17 @@
|
||||
Console.Write("Введите имя тренера: ");
|
||||
string trainerName = Console.ReadLine();
|
||||
|
||||
Console.Write("Введите имя покемона: ");
|
||||
string pokenMoname = Console.ReadLine();
|
||||
|
||||
Console.Write("Введите стихию: ");
|
||||
string elementType2 = Console.ReadLine();
|
||||
|
||||
Console.Write("Введите регион: ");
|
||||
string regionName = Console.ReadLine();
|
||||
|
||||
Console.WriteLine("**********************************************");
|
||||
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
|
||||
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
|
||||
Console.WriteLine($"Покемон: {pokenMoname} [Стихия: {elementType2}]");
|
||||
Console.WriteLine("**********************************************");
|
||||
@@ -0,0 +1,15 @@
|
||||
# Лабораторная работа №1
|
||||
|
||||
* **Студент:** [ФИО]
|
||||
* **Вариант / Карточка:** [Например: #025 Pikachu]
|
||||
|
||||
---
|
||||
|
||||
## Ключевой код
|
||||
```csharp
|
||||
// Самая важная часть реализации (методы, структуры, логика)
|
||||
public class Card
|
||||
{
|
||||
public string Name { get; set; }
|
||||
public int Hp { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user