Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using c++, OOP class solve the problem Your next C++ program is to provide validation for the selection of new passwords. For a password to
Using c++, OOP class solve the problem
Your next C++ program is to provide validation for the selection of new passwords. For a password to be allowed it must follow these rules: It must contain at least one letter It must contain at least one digit . e . It must be at least 8 characters long It must not be a password in the "easy-to-guess" list It must not be a password that has already been selected twice previously The passwords in the "easy-to-guess" list will be provided in the file "easy.txt" with one password per line. You must store the easy-to-guess passwords using an array-based implementation of the ADT bag. The passwords that have been used once should be stored in another bag, with those being used twice in yet another bag. You may assume that no bag will ever contain more than 100 passwords. Prompt the user for a potential password, then display either the message "ACCEPT" or "REJECT TOO EASY" or "REJECT-TOO COMMON". Continue until the user enters "quit". The data file (easy.txt), class files (ArrayBag.h, ArrayBag.cpp, Baglnterface.h), and sample program (main.cpp) can be copied from the /home/gunnett@findlay.edu/BAG directory. Your program should follow the Documentation Guidelines handout given in class. Prepare a script session on Chip that will include your source code (use "cat"), the compiling of your program, and one execution using the following input data: Secret99 Footbal19 topten99 topten9 topten88 12345678 topten88 password88 mytest8 yoursbad topten88 quitStep 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