Delete directory 'works/lab-01'

This commit is contained in:
2026-09-21 12:31:30 +00:00
parent 2d44a38983
commit ab4ccdec10
2 changed files with 0 additions and 38 deletions
-3
View File
@@ -1,3 +0,0 @@
<Solution>
<Project Path="ConsoleApp1/ConsoleApp1.csproj" />
</Solution>
-35
View File
@@ -1,35 +0,0 @@
# Лабораторная работа №2
* **Студент:** [Тесленко Анастасия]
* **Вариант / Карточка:** [Например: #025 Pikachu]
---
## Ключевой код
```csharp
fun main()
{
// Задание 1 Статический вывод
string pokemonName = "Чармандер";
string elementType = "Огонь";
int level = 1;
int hp = 95;
Console.WriteLine("=== БАЗА ДАННЫХ ПОКЕМОНОВ ===");
Console.WriteLine($"Покемон: {pokemonName}");
Console.WriteLine($"Стихия: {elementType}");
Console.WriteLine($"Уровень: {level} | HP: {hp}");
// ===== Задание 2. Интерактивный ввод =====
Console.Write("Введите имя тренера: ");
string trainerName = Console.ReadLine();
Console.Write("Введите имя покемона: ");
string pokemonName2 = Console.ReadLine();
Console.Write("Введите стихию: ");
string elementType2 = Console.ReadLine();
Console.Write("Введите регион: ");
string regionName = Console.ReadLine();
Console.WriteLine("ПАСПОРТ ПОКЕМОНА");
Console.WriteLine($"Тренер: {trainerName} (Регион: {regionName})");
Console.WriteLine($"Покемон: {pokemonName2} [Стихия: {elementType2}]");
}