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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started