password C++

You have been chosen by your employer Google to create a program to rate customer’s passwords. The users will enter a password and your program will output a rating of strong, moderate or weak based on the rating rules shown below. Your program will allow the user to try multiple passwords per execution. Strong
At least 8 characters long Both an upper case letter and a lower case letter
At least one digit
At least one special, non-alpha and non-numeric character Moderate
At least 6 characters long Only one upper case or lower case letter or digit or special character
Weak Less than 6 characters long
Topic archived. No new replies allowed.