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