nvnnaidenov

PasswordGuess - School Book 3.0

Jul 28th, 2021
859
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2.  
  3. class PasswordGuess
  4. {
  5.     static void Main()
  6.     {
  7.         string password = Console.ReadLine();
  8.  
  9.         if(password == "s3cr3t!P@ssw0rd")
  10.         {
  11.             Console.WriteLine("Welcome");
  12.         }
  13.         else
  14.         {
  15.             Console.WriteLine("Wrong password!");
  16.         }
  17.     }
  18. }
  19.  
RAW Paste Data