using System;
public class Program
{
public static void Main()
int counter = 0;// +
string log = "silver";// +
string pass = "qwerty";// +
while (counter < 3 )
string login = Console.ReadLine();
string pswrd = Console.ReadLine();
if (counter > 2)
{// +
Console.WriteLine("The number of available tries have been exceeded"); //почему в решении, илья вынес это услвоие за цикл while? у меня тут тоже считает, только правда надо на индекс меньше ставить
}
if (login == log && pswrd == pass)
Console.WriteLine("Enter the System");
counter++;// +