generated from admin/template
21 lines
706 B
C#
21 lines
706 B
C#
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]}");
|
|
|
|
}
|
|
} |