/Password-Validation

See if the password is strong enough

Primary LanguageJava

Password-Validation

See if the password is strong enough

Task: Write a program that takes in a string as input and evaluates it as a valid password. The password is valid if it has at a minimum 2 numbers, 2 of the following special characters ('!', '@', '#', '$', '%', '&', '*'), and a length of at least 7 characters.

If the password passes the check, output 'Strong', else output 'Weak'.

Create the above program in different programming languages.