Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions

Question

What would the rationale for a PMS be?

Answered: 1 week ago