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 guess = Console.ReadLine();
- string password = ("s3cr3t!P@ssw0rd");
- if (guess == password)
- {
- Console.WriteLine("Welcome");
- }
- else
- {
- Console.WriteLine("Wrong password!");
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment