Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Programming questions