Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You are to write a program that asks the user to enter a file that is holding us

ID: 3632686 • Letter: Y

Question

You are to write a program that asks the user to enter a file that is holding username password combinations. Then the program should use a structure to store the usernames and passwords read from the file. Each username is followed by a password. Each username must be between 8 and 10 characters and can only consist of lowercase alphanumeric characters.
Each password must be between 6 and 12 characters long. Passwords must also consist of at least one lowercase letter, one capital letter and one numeric character. At the end of execution, valid usernames should be placed in a separate file than those that had either an invalid username or invalid password.

Explanation / Answer

#include "stdafx.h" #include #include #include using namespace std; int main() { const int size=10; string pass; int length; int caps=0; int num=0; int low=0; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote