Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program in C++ that checks passwords input by the user. The program will continue to check passwords until the user inputs finish .

Write a program in C++ that checks passwords input by the user. The program will continue to check passwords until the user inputs finish.

A strong password contains at least one capital letter, one lower case letter, one number, and one symbol, and a length at least 8. Additionally your program should store all the input passwords (except finish) into a file called passwords.txt

Your program should run like this:

Welcome to the password verification program Please input a password, the program will tell you if it is good or weak A good password has at least one capital letter, one lowercase letter, a number and a special symbol a length of at least 8 characters Password: password password is too weak Password: Password Password is too weak Password: Pass1 Pass1 is too weak Password: Pass1% Pass1% is too weak Password: pAssW123 pAssW123 is too weak Password: PasS123% PasS123% is a good password Password: finish Goodbye...

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

Database Design And Implementation

Authors: Edward Sciore

2nd Edition

3030338355, 978-3030338350

More Books

Students also viewed these Databases questions