Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Do Not Use preCompiled Headers Write a program in C++ that checks passwords input by the user. The program will continue to check passwords until

Do Not Use preCompiled Headers

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 Systems Introduction To Databases And Data Warehouses

Authors: Nenad Jukic, Susan Vrbsky, Svetlozar Nestorov

1st Edition

1943153191, 978-1943153190

More Books

Students also viewed these Databases questions

Question

When is it appropriate to show grace toward others?

Answered: 1 week ago