Question: Implement the all the following as C++ programs for full credit. Submit only .cpp files only. Imagine you are developing a software package that required

Implement the all the following as C++ programs for full credit. Submit only .cpp files only.

Imagine you are developing a software package that required users to enter their own passwords. You software requires that users passwords meet the follow criteria.

The password should be at least 10 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 asks for a password and then verifies that it meets the criteria. If it doesnt, the program should display a message telling the user why it failed. It should not display all password criteria unless if failed all the criteria. If it failed only because the length was not 10 characters then it should inform the user of only that reason. For example, mypasswords fails to meet at least one upper case and does not contain a digit. If it fails to meet more than one criteria it should display all the reasons why it failed. The program should end when the user enters a valid password and display a message that password has been accepted.

NOTE: please use cstring and string header files. Also use isupper and those functions. It also needs to have the user keep trying until they get it right so it can't end after one invalid response

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!