Question: Write a Password Verifier as a C++ program (using fstream) which reads the following text-file (called passwurd.txt) passwords of data from a file: ABC99 JOHNDOE

Write a Password Verifier as a C++ program (using fstream) which reads the following text-file (called passwurd.txt) passwords of data from a file:

ABC99

JOHNDOE

Wylbur912

janesmith

WaldoWigglesworth917

298424874536

FreddieKreuger13

HelgaBronsteen

geraldine8292

Imagine you are developing a software package that requires users to enter their own passwords.

Your software requires that users passwords meet the following criteria:

The password should be at least six characters long.

The password should contain at least one uppercase and at least one lowercase letter.

The password should have at least one digit.

Write a program that reads the file and then verifies that each meets the stated criteria. If it doesnt, the program should display a message telling the user why.

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 Databases Questions!