Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace PasswordGuess
- {
- class Program
- {
- static void Main(string[] args)
- {
- string password = Console.ReadLine();
- if (password == "s3cr3t!P@ssw0rd")
- {
- Console.WriteLine("Welcome");
- }
- else
- {
- Console.WriteLine("Wrong password!");
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement