Created
January 30, 2024 10:27
-
-
Save EreminAndrei/dd877a5d09509245eaf2a7a04cb7466a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
string password = "exit"; | |
string word; | |
Console.WriteLine("Введите слово"); | |
word = Console.ReadLine(); | |
while (password != word) ; | |
{ | |
Console.WriteLine("Не верно попробуйте еще раз"); | |
word = Console.ReadLine(); | |
} | |
Console.WriteLine("Верно"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment