Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //variables
- int minLength = 8;
- string uppercase = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
- string lowercase = "abcdefghijklmnopqrstuvwxyz";
- string digits = "0123456789";
- string specialChars = "!#$%&*";
- int score = 0;
- //User
- Console.WriteLine("Enter a password:");
- string password = Console.ReadLine();
- //Points
- if (minLength >= 8)
- {
- score++;
- }
- if (Tools.Contains(password, uppercase))
- {
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement