Question: Answer in C++ Please. Our password requirements are exactly the same as in the homework problem. Minimum length of twelve characters At least one UPPER

Answer in C++ Please.

Our password requirements are exactly the same as in the homework problem.

  • Minimum length of twelve characters
  • At least one UPPER CASE letter (A-Z)
  • At least one lower case letter (a-z)
  • At least one digit (0-9)
  • At least one "special" character (printable, but not alphanumeric)
  • No space characters

Write a program that reads a list of candidate passwords (the number of passwords in the list is unknown) and states the number of passwords that meet our qualifications. There is no need to use an array in this program; just read the passwords one line at a time (hint, hint), test them, and keep track of the count of valid and invalid passwords.

#### Important

password must meet all of the critera above or it will be invalid

program needs to include fstream to read passwords from a file of a unknown amount.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!