Добавлены лабораторные работы

This commit is contained in:
2026-10-01 10:59:26 +03:00
parent 10492a4133
commit 88a73bfcb5
186 changed files with 4008 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
string[] activeTeam = new string[3];
Console.WriteLine("=== РЕГИСТРАЦИЯ КОМАНДЫ ===\n");
for (int i = 0; i < activeTeam.Length; i++)
{
Console.Write($"Введите имя покемона №{i + 1}: ");
activeTeam[i] = Console.ReadLine();
}
Console.WriteLine("--- Ваша команда на этот бой ---\n");
Console.WriteLine($"№1: {activeTeam[0]}");
Console.WriteLine($"№2: {activeTeam[1]}");
Console.WriteLine($"№3: {activeTeam[2]}");