generated from admin/template
Удалить works/ex.1.cs
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
namespace DefaultNamespace;
|
||||
|
||||
public class ex_1
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("=== РЕГИСТРАЦИЯ КОМАНДЫ ===");
|
||||
string[] pokemonNames = new string[3];
|
||||
for (int i = 0; i < pokemonNames.Length; i++)
|
||||
{
|
||||
Console.Write($"Видите имя покемона №{i + 1}: ");
|
||||
pokemonNames[i] = Console.ReadLine();
|
||||
}
|
||||
Console.WriteLine();
|
||||
Console.WriteLine("--- Ваша команда на этот бой ---");
|
||||
Console.WriteLine($"1. {pokemonNames[0]}");
|
||||
Console.WriteLine($"2. {pokemonNames[1]}");
|
||||
Console.WriteLine($"1. {pokemonNames[0]}");
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user